Quantum Computing, Quantum Computer, Qiskit, Quantum Physics, Python.
between initializing the qubits and measuring them, the operations (gates) are always reversible! These reversible gates can be represented as matrices, and as rotations around the Bloch sphere. Let’s get started: from qiskit import QuantumCircuit, assemble, Aer from math import pi, sqrt from