Inverse Gates
Every quantum gate must be reversible — that is guaranteed by the requirement that gates are unitary (). For a gate , its inverse is (the conjugate transpose). For the Pauli gates this turns out to be especially simple.
The Pauli matrices are Hermitian and unitary
The three Pauli gates are
Each matrix is equal to its own conjugate transpose: , , . A matrix that equals its own conjugate transpose is called Hermitian. When a matrix is both Hermitian and unitary, the two conditions and combine to give
You can verify this directly for each Pauli by squaring the matrix. For :
The same calculation for and gives the same result. A matrix that squares to the identity satisfies , so:
Each Pauli gate is its own inverse.
Concretely:
- applied twice returns any state to itself: , then .
- applied twice returns any state exactly to itself: , so no phase of any kind is introduced.
- applied twice leaves both amplitudes unchanged: , .
Try it
The circuit below starts with the qubit in and immediately applies to produce . Your task is to undo that flip by applying the inverse of . The grader checks the full state vector, so the qubit must end in .
After running: the Bloch vector returns to the north pole, and the amplitude on is exactly . Two gates cancel completely because .
Sign in on the full site to ask questions and join the discussion.