All Categories

Quantum Computing

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

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(1111)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((logN)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(ρlog2ρ)S(\rho) = -\text{tr}(\rho \log_2 \rho)

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

View details