Module gates

Module gates 

Source
Expand description

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.