quantum.gates#
Gates in a discopy.quantum.circuit.Circuit.
|
Quantum gates, i.e. unitaries on n qubits. |
|
Classical gates, i.e. from digits to digits. |
Takes a bit, returns two copies of it. |
|
Takes two bits in, returns them if they are equal. |
|
|
Classical state for a given string of digits of a given dimension. |
|
Implements bit preparation for a given bitstring. |
|
Implements qubit preparation for a given bitstring. |
|
Implements qubit post-selection for a given bitstring. |
|
Abstract class for parametrized boxes in a quantum circuit. |
|
Abstract class for rotation gates. |
|
X rotations. |
|
Z rotations. |
|
Controlled Z rotations. |
|
Controlled Z rotations. |
|
Controlled X rotations. |
|
Scalar, i.e. quantum gate with empty domain and codomain. |
Square root. |