Gate Type
Elementary quantum gate for circuit synthesis.
Universal gate set used in CNOT staircase decomposition. Requires qualified access to avoid ambiguity with CliffordGate cases from the Tapering module.
Union cases
| Union case |
Description
|
Full Usage:
CNOT(control, target)
Parameters:
int
target : int
|
Controlled-NOT gate.
|
Full Usage:
H qubit
Parameters:
int
|
Hadamard gate on a single qubit.
|
Full Usage:
Rz(qubit, angle)
Parameters:
int
angle : float
|
Rotation Rz(θ) = exp(−iθZ/2) on a single qubit.
|
Full Usage:
S qubit
Parameters:
int
|
Phase gate S on a single qubit (Z^½).
|
Full Usage:
Sdg qubit
Parameters:
int
|
Adjoint phase gate S† on a single qubit (Z^−½).
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsCNOT
Returns: bool
|
|
Full Usage:
this.IsH
Returns: bool
|
|
Full Usage:
this.IsRz
Returns: bool
|
|
Full Usage:
this.IsS
Returns: bool
|
|
Full Usage:
this.IsSdg
Returns: bool
|
|