Quantum ComputingGatesUniversity
AQAIB

Pauli-X (Quantum NOT)

Flips the state of a qubit.

Understand the formulaSee the free derivationOpen the full walkthrough

This public page keeps the free explanation visible and leaves premium worked solving, advanced walkthroughs, and saved study tools inside the app.

Core idea

Overview

The Pauli-X gate, often called the quantum NOT gate, performs a 180-degree rotation around the X-axis of the Bloch sphere. This operation effectively swaps the probability amplitudes of the computational basis states, transforming the state α|0⟩ + β|1⟩ into β|0⟩ + α|1⟩.

When to use: Apply the Pauli-X gate when you need to flip the bit value of a qubit or initialize a system from the |0⟩ state to the |1⟩ state. It is also a core component in building conditional logic gates and parity-checking circuits in error correction.

Why it matters: It provides the basic logical inversion necessary for classical-style computation within a quantum framework. Without the Pauli-X gate, many fundamental algorithms and the construction of universal gate sets would be impossible.

Symbols

Variables

\alpha = Old α, \beta = Old β, \alpha' = New α, \beta' = New β

Old α
Old β
New α
New β

Walkthrough

Derivation

Transformation: Pauli-X (NOT Gate)

Standard bit-flip transformation for a qubit.

  • Unitary transformation.
1

State flip:

The Pauli-X gate swaps the amplitudes of the zero and one basis states.

Result

Source: University Quantum Computing — Gates

Visual intuition

Graph

The graph appears as a horizontal line because the value of new_alpha remains constant regardless of changes in new_beta. For a student of quantum computing, this shape demonstrates that the Pauli-X gate performs a deterministic state swap where the output amplitude is independent of the input amplitude. The most important feature is that the slope is zero, which confirms that the transformation does not scale the input but simply maps the initial beta value directly to the new alpha state.

Graph type: constant

Why it behaves this way

Intuition

The Pauli-X gate corresponds to a 180-degree rotation around the X-axis of the Bloch sphere, effectively swapping the north and south poles.

X
The Pauli-X gate, which performs a bit-flip operation on a qubit
Acts like a classical NOT gate, transforming '0' to '1' and '1' to '0' in the quantum realm.
|0⟩
The computational basis state representing the classical bit value '0'
The 'ground' or 'off' state of a qubit, analogous to a classical '0'.
|1⟩
The computational basis state representing the classical bit value '1'
The 'excited' or 'on' state of a qubit, analogous to a classical '1'.

Free study cues

Insight

Canonical usage

The Pauli-X gate describes a transformation between dimensionless quantum states, typically represented as vectors in a Hilbert space.

Common confusion

Students sometimes incorrectly attempt to assign physical units to quantum states or operators, when they are fundamentally mathematical entities describing probabilities and phase relationships.

Dimension note

Quantum states (|0⟩, |1⟩) and quantum gates (X) are inherently dimensionless mathematical constructs. They represent abstract states and operations within a vector space, not physical quantities with units.

One free problem

Practice Problem

A qubit is initialized in a state where alpha = 0.6 and beta = 0.8. If a Pauli-X gate is applied, what is the new probability amplitude for the |0⟩ state (lpha)?

Old α0.6
Old β0.8

Solve for:

Hint: The X-gate acts as a NOT gate, swapping the values of alpha and beta.

The full worked solution stays in the interactive walkthrough.

Where it shows up

Real-World Context

Transforming an initialized |0> qubit to |1>.

Study smarter

Tips

  • The X gate swaps the values of alpha and beta.
  • The gate is its own inverse, so X applied twice returns the original state.
  • It represents a bit-flip error in quantum error correction models.

Avoid these traps

Common Mistakes

  • Thinking it affects phase; that's the Z gate.

Common questions

Frequently Asked Questions

Standard bit-flip transformation for a qubit.

Apply the Pauli-X gate when you need to flip the bit value of a qubit or initialize a system from the |0⟩ state to the |1⟩ state. It is also a core component in building conditional logic gates and parity-checking circuits in error correction.

It provides the basic logical inversion necessary for classical-style computation within a quantum framework. Without the Pauli-X gate, many fundamental algorithms and the construction of universal gate sets would be impossible.

Thinking it affects phase; that's the Z gate.

Transforming an initialized |0> qubit to |1>.

The X gate swaps the values of alpha and beta. The gate is its own inverse, so X applied twice returns the original state. It represents a bit-flip error in quantum error correction models.

References

Sources

  1. Nielsen, Michael A., and Isaac L. Chuang. Quantum Computation and Quantum Information. Cambridge University Press, 2010.
  2. Wikipedia: Pauli-X gate
  3. Nielsen & Chuang (Quantum Computation and Quantum Information)
  4. Griffiths (Introduction to Quantum Mechanics)
  5. Quantum Computation and Quantum Information by Michael A. Nielsen and Isaac L. Chuang
  6. Introduction to Quantum Mechanics by David J. Griffiths
  7. Pauli-X gate, Wikipedia
  8. University Quantum Computing — Gates