Closed trevor-vincent closed 3 years ago
In quimb/gen/operators.py we have a small typo:
def Zsqrt(**qu_opts): r"""Rz(pi / 2). .. math:: Z^{\frac{1}{2}} = \frac{1}{\sqrt{2}} \begin{bmatrix} 1 - i & 0 \\ 0 & 1 + i \end{bmatrix} """ return Ry(math.pi / 2, **qu_opts)
Ry should be Rz here.
Well spotted! Thanks - fixed by 05ffb1a6.
In quimb/gen/operators.py we have a small typo:
Ry should be Rz here.