All Categories

Quantum Computing

Qubit states, quantum gates, algorithms and information measures for quantum processors

Quantum Computing formulas describe how qubits behave, how quantum gates transform them, and how key algorithms and information measures are calculated. This category helps students, exam candidates, and practitioners working with quantum hardware or algorithms understand concepts like superposition, entanglement, measurement, and complexity. These formulas matter because they are the language of quantum processors, from basic state preparation to powerful speedups in search and factoring.

Qubit Superposition State

NEWIntermediate
∣ψ⟩=α∣0⟩+β∣1⟩|\psi\rangle = \alpha|0\rangle + \beta|1\rangle

General state of a single qubit as a superposition of the computational basis states.

View details

Normalisation Constraint

NEWBasic
∣α∣2+∣β∣2=1|\alpha|^2 + |\beta|^2 = 1

The squared amplitudes of a qubit must sum to 1, ensuring total probability is 100 %.

View details

Hadamard Gate

NEWIntermediate
H=12(111−1)H = \frac{1}{\sqrt{2}}\begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}

Puts a qubit into an equal superposition — the most common single-qubit gate.

View details

Pauli-X Gate (Quantum NOT)

NEWBasic
X=(0110)X = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}

Flips |0⟩ to |1⟩ and vice versa — the quantum equivalent of a classical NOT gate.

View details

CNOT Gate

NEWIntermediate
CNOT=(1000010000010010)CNOT = \begin{pmatrix} 1&0&0&0 \\ 0&1&0&0 \\ 0&0&0&1 \\ 0&0&1&0 \end{pmatrix}

Two-qubit gate that flips the target qubit only when the control qubit is |1⟩.

View details

Bell State (EPR Pair)

NEWIntermediate
∣Φ+⟩=12(∣00⟩+∣11⟩)|\Phi^+\rangle = \frac{1}{\sqrt{2}}(|00\rangle + |11\rangle)

Maximally entangled two-qubit state — measuring one qubit instantly determines the other.

View details

Born Rule (Measurement Probability)

NEWIntermediate
P(∣k⟩)=∣⟨k∣ψ⟩∣2P(|k\rangle) = |\langle k|\psi\rangle|^2

Probability of measuring outcome |k⟩ from a quantum state |ψ⟩.

View details

Grover's Search Complexity

NEWAdvanced
O(N)O(\sqrt{N})

Number of queries needed by Grover's algorithm to find an item in an unsorted database of N entries.

View details

Shor's Factoring Complexity

NEWAdvanced
O((log⁡N)3)O((\log N)^3)

Time complexity for Shor's algorithm to factor an integer N on a quantum computer.

View details

Quantum State Space

NEWBasic
States=2n\text{States} = 2^n

Number of basis states an n-qubit register can be in superposition of simultaneously.

View details

Quantum Fidelity

NEWAdvanced
F(ρ,σ)=(trρ σ ρ)2F(\rho, \sigma) = \left(\text{tr}\sqrt{\sqrt{\rho}\,\sigma\,\sqrt{\rho}}\right)^2

Measures how close two quantum states are — 1 means identical, 0 means orthogonal.

View details

Von Neumann Entropy

NEWAdvanced
S(ρ)=−tr(ρlog⁡2ρ)S(\rho) = -\text{tr}(\rho \log_2 \rho)

Quantum analogue of Shannon entropy — measures the uncertainty in a quantum state.

View details