Qubit states, quantum gates, algorithms and information measures for quantum processors
General state of a single qubit as a superposition of the computational basis states.
The squared amplitudes of a qubit must sum to 1, ensuring total probability is 100 %.
Puts a qubit into an equal superposition — the most common single-qubit gate.
Flips |0⟩ to |1⟩ and vice versa — the quantum equivalent of a classical NOT gate.
Two-qubit gate that flips the target qubit only when the control qubit is |1⟩.
Maximally entangled two-qubit state — measuring one qubit instantly determines the other.
Probability of measuring outcome |k⟩ from a quantum state |ψ⟩.
Number of queries needed by Grover's algorithm to find an item in an unsorted database of N entries.
Time complexity for Shor's algorithm to factor an integer N on a quantum computer.
Number of basis states an n-qubit register can be in superposition of simultaneously.
Measures how close two quantum states are — 1 means identical, 0 means orthogonal.
Quantum analogue of Shannon entropy — measures the uncertainty in a quantum state.