CNOT / CX — Controlled-NOT
Flips the target qubit when the control qubit is |1⟩. The canonical entangling gate. SimulatorCCNOT — Toffoli Gate
Flips the target qubit when both control qubits are |1⟩. Universal for classical reversible computation. SimulatorCCCNOT — Four-Qubit Controlled-NOT
Flips the target when all three control qubits are |1⟩. SimulatorCZ / CCZ — Controlled-Z
Applies a phase flip to the target when the control(s) are |1⟩. SimulatorCR — Controlled-R
Applies the phase rotationR(theta) to the target qubit when the control is |1⟩. Core building block of QFT circuits.
Simulator
C — Controlled Arbitrary Gate
Applies any 2×2 unitaryg to target when control is |1⟩.
Simulator
CU — Controlled-U
Applies the universal gateU(theta, phi, lambda) to target conditioned on control.
Simulator
ControlledNot — General Multi-Control NOT
Flips each qubit intarget when all qubits in control are |1⟩. Generalises CNOT, CCNOT, and CCCNOT to arbitrary numbers of controls and targets.
Simulator
ControlledZ — General Multi-Control Z
Applies a phase flip to each qubit intarget when all control qubits are |1⟩.
Simulator
Swap
Exchanges the quantum states of two qubits. When passed more than two qubits,Swap reverses the sequence (i.e., swaps the outermost pair first, then works inward).
Simulator
QFT — Quantum Fourier Transform
Applies the quantum Fourier transform to the given qubits. Equivalent to a discrete Fourier transform on the computational-basis amplitudes. Used in phase estimation, Shor’s algorithm, and period finding. SimulatorInvQFT — Inverse Quantum Fourier Transform
Applies the inverse QFT. Converts frequency-domain amplitudes back to the computational basis. Used in the readout step of phase estimation. SimulatorTensorProduct — Gate at Specified Indices
Embeds a single-qubit gateu into a larger n-qubit system, placing u at each qubit index listed in idx and identity on all remaining qubits.
Gate package