Inverse quantum circuit (source code)

= Inverse quantum circuit

The inverse of a quantum circuit applies the adjoints of its gates in reverse temporal order. The <Hadamard gate>, <Pauli Z gate>, and <controlled-NOT gate> are each self-inverse.