Pauli-X gate by Ciro Santilli 40 Updated 2025-07-16
The quantum NOT gate swaps the state of and , i.e. it maps:
As a result, this gate also inverts the probability of measuring 0 or 1, e.g.

New to topics? Read the docs here!