We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 571b041 commit 72e1597Copy full SHA for 72e1597
docs/sphinx/components/qec/introduction.rst
@@ -275,7 +275,7 @@ to prototype and develop new codes.
275
h(logicalQubit.ancx)
276
277
# Measure Z stabilizers
278
- for zi in range(len(logicalQubit.ancx)):
+ for zi in range(len(logicalQubit.ancz)):
279
for di in range(len(logicalQubit.data)):
280
if z_stabilizers[zi * len(logicalQubit.data) + di] == 1:
281
x.ctrl(logicalQubit.data[di], logicalQubit.ancz[zi])
0 commit comments