Module quantum::gates
[−]
[src]
Implementations of quantum gates, intended for consumer use.
Functions
hadamard |
The Hadamard gate. |
identity |
The identity gate, not mutating the state at all. |
pauli_x |
The Pauli-X gate. |
pauli_y |
The Pauli-Y gate. |
pauli_z |
The Pauli-Z gate. |
phase_shift |
A single qubit phase-shift gate. |
swap |
The two qubit swap gate. |