Skip to content

Commit a08e97e

Browse files
Fix typo in DLA demo demo.py (#1605)
Fix list of generators in the Ising-type Lie algebras section Closes #1563 .
1 parent 8c7dad6 commit a08e97e

File tree

1 file changed

+2
-2
lines changed
  • demonstrations_v2/tutorial_liealgebra

1 file changed

+2
-2
lines changed

demonstrations_v2/tutorial_liealgebra/demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
##############################################################################
246246
# The only new operator here is :math:`iY_0 Y_1,` which we add to the list of the DLA.
247247
# We could continue this process with a second nesting layer but will find that no new operators are added past this point.
248-
# We finally end up with the DLA :math:`\{X_0 X_1, Z_0, Z_1, iY_0 X_1, iX_0 Y_1, iY_0 Y_1\}`
248+
# We finally end up with the DLA :math:`\{iX_0 X_1, iZ_0, iZ_1, iY_0 X_1, iX_0 Y_1, iY_0 Y_1\}`
249249

250250
for op in dla.basis:
251251
print(op)
@@ -453,4 +453,4 @@ def IsingGenerators(n, bc="open"):
453453
# "Quantum Computation, Complexity, and Many-Body Physics"
454454
# `arXiv:quant-ph/0512209 <https://arxiv.org/abs/quant-ph/0512209>`__, 2005.
455455
#
456-
#
456+
#

0 commit comments

Comments
 (0)