Beginner Tutorial
Middle Level Tutorial
Advanced Tutorial
Case Library
API
Paper with Code
RELEASE NOTES
Installation Guide
Base class for quantum gates.
name (str) – the name of this gate.
n_qubits (int) – how many qubits is this gate.
obj_qubits (int, list[int]) – Specific which qubits the gate act on.
ctrl_qubits (int, list[int]) – Specific the control qubits. Default, None.
None