module documentation

Undocumented

Class CVOperators Build operator matrices for continuously variable bosonic gates.
Constant EXPR_PATTERN Undocumented
Constant I Undocumented
Constant P0 Undocumented
Constant P1 Undocumented
Constant SMINUS Undocumented
Constant SPLUS Undocumented
Constant X Undocumented
Constant Y Undocumented
Constant Z Undocumented
Type Alias UnitaryFunc Undocumented
EXPR_PATTERN = (source)

Undocumented

Value
re.compile(r'(\w+)(\d+)')

Undocumented

Value
np.eye(2)

Undocumented

Value
(I + Z) / 2

Undocumented

Value
(I - Z) / 2

Undocumented

Value
0.5 * (X - 1j * Y)

Undocumented

Value
0.5 * (X + 1j * Y)

Undocumented

Value
XGate().to_matrix()

Undocumented

Value
YGate().to_matrix()

Undocumented

Value
ZGate().to_matrix()
UnitaryFunc = (source)

Undocumented

Value
Callable[..., np.ndarray | sp.sparray]