mindquantum.core.gates
Gate module that provides different quantum gate.
Base Class
BasicGate is the base class of all gates. |
|
Base class for non-parametric gates. |
|
Gate that is parameterized. |
|
Base class for quantum gates. |
|
Noise gate class. |
Quantum Gate
API Name |
Description |
Math |
Control-X gate. |
No formula yet. |
|
FSim gate represent fermionic simulation gate. |
||
Global phase gate. |
||
Hadamard gate. |
||
Identity gate. |
||
ISWAP gate. |
No formula yet. |
|
Measurement gate that measure quantum qubits. |
No formula yet. |
|
Phase shift gate. |
||
Pauli rotate about a arbitrary axis in bloch sphere. |
||
Rotation gate around x-axis. |
||
Rxx gate. |
||
Rxy gate. |
||
Rxz gate. |
||
Rotation gate around y-axis. |
||
Ryy gate. |
||
Ryz gate. |
||
Rotation gate around z-axis. |
||
Rzz gate. |
||
Arbitrary pauli string rotation. |
||
S gate. |
||
SWAP gate that swap two different qubits. |
No formula yet. |
|
SWAP alpha gate. |
||
Sqrt X (SX) gate. |
||
T gate. |
||
U3 gate represent arbitrary single qubit gate. |
||
Pauli-X gate. |
||
Pauli Y gate. |
||
Pauli-Z gate. |
||
Multi qubit pauli string gate. |
||
Givens rotation gate. |
Functional Gate
Universal math gate. |
|
Generate a customer parameterized gate based on the single parameter defined unitary matrix. |
|
Barrier gate will separate two gate in two different layer. |
pre-instantiated gate
The gates blow are the pre-instantiated quantum gates, which can be used directly as an instance of quantum gate.
pre-instantiated gate |
gate |
---|---|
mindquantum.core.gates.CNOT |
|
mindquantum.core.gates.I |
|
mindquantum.core.gates.ISWAP |
|
mindquantum.core.gates.H |
|
mindquantum.core.gates.S |
|
mindquantum.core.gates.SWAP |
|
mindquantum.core.gates.SX |
|
mindquantum.core.gates.T |
|
mindquantum.core.gates.X |
|
mindquantum.core.gates.Y |
|
mindquantum.core.gates.Z |
Quantum Channel
API Name |
Description |
Math |
Amplitude damping channel express error that qubit is affected by the energy dissipation. |
||
A bit flip channel. |
||
A bit&phase flip channel. |
||
A depolarizing channel. |
||
A kraus channel. |
||
A pauli channel. |
||
A group of pauli channels. |
||
A phase damping channel. |
||
A phase flip channel. |
||
Thermal relaxation channel. |
Functional Class
Measurement result container. |
|
Power operator on a non parameterized gate. |