Module qucirc.ops
Quantum gate operations:
- Single-qubit gates: H, X, Y, Z, S, T, SDG, TDG, SX
- Parameterized gates: RX(θ), RY(θ), RZ(θ), P(φ)
- Two-qubit gates: CNOT, CY, CZ, SWAP
- Controlled gates: CH, CP(φ), CRX(θ), CRY(θ), CRZ(θ), CU(θ,φ,λ)
Classes
class CP (phase)-
CP gate (controlled-phase gate)
class CRX (angle)-
CRX gate (controlled-X gate)
class CRY (angle)-
CRY gate (controlled-Y gate)
class CRZ (angle)-
CRZ gate (controlled-Z gate)
class CU (theta, phi, lamda)-
CU gate (controlled-U gate)
class P (phase)-
Phase gate (diag{1, exp(iθ)})
class RX (angle)-
RX gate (rotation around X axis)
class RY (angle)-
RY gate (rotation around Y axis)
class RZ (angle)-
RZ gate (rotation around Z axis)
class U (theta, phi, lamda)-
U gate (general single-qubit gate)
class U1 (lamda)-
U1 gate (phase gate)
class U2 (phi, lamda)-
U2 gate (two-parameter single-qubit gate)
class U3 (theta, phi, lamda)-
U3 gate (three-parameter single-qubit gate)