Closed goerz closed 6 years ago
The following should fail, as '0' and '1' are not labels that are in the basis:
>>> from qnet.algebra import * >>> hs = LocalSpace('tls', basis=('g', 'e')) >>> LocalSigma('0', '1', hs=hs) |0⟩⟨1|⁽ᵗˡˢ⁾
The following should fail, as '0' and '1' are not labels that are in the basis: