Information Theory, Coding, and Quantum Computing
-
Entropy, Surprise, and Expected Code Length
Compute entropy as average surprise and compare the cost of coding under the true distribution and a different model.
-
KL Divergence and Coding Mismatch
Compute the excess expected log loss of a wrong model and identify why support and direction matter.
-
Mutual Information and Conditional Uncertainty
Measure how much two variables reveal about each other by comparing their joint distribution with independent marginals.
-
Prefix Codes and the Kraft Inequality
Use the leaves of a binary tree to constrain possible code lengths and demonstrate an instantaneously decodable example.
-
Huffman Coding and the Sibling Exchange
Prove why the two least-weighted symbols can be combined first and calculate a weighted average length.
-
Arithmetic Coding and Nested Intervals
Represent a sequence by narrowing an interval and identify a finite binary prefix wholly contained in its final range.
-
Channel Capacity and the Binary Symmetric Channel
Compute the information rate of a binary channel with independent flips and distinguish an asymptotic bound from one finite code’s performance.
-
Linear Codes, Parity Checks, and Syndromes
Compute which constraint an error violates and derive the distance needed for unambiguous worst-case correction.
-
Constructing a Binary Hamming Code
Choose a distinct nonzero parity-check column for each coordinate and derive the distance and single-error correction rule.
-
Reed–Solomon Codes and Evaluation Distance
Prove the minimum distance of polynomial evaluation codes and calculate how many known erasures they can recover.
-
Erasure Coding and Storage Repair
Recover a known missing fragment from parity and compare the cost of reconstruction with the guarantee of a code.
-
Tanner Graphs and Iterative Decoding
Represent parity checks as a bipartite graph and use local messages to combine channel evidence with neighboring constraints.
-
Qubits, Unitary Gates, and Circuit Measurement
Track amplitudes through a small gate circuit and distinguish a measured bit from the state used to predict it.
-
Quantum Amplitudes and Interference Paths
Add amplitudes across alternatives before squaring and calculate a two-gate example of cancellation.
-
Tensor Products and Entangled Qubits
Construct joint amplitudes for two independent states and show why an entangled pair cannot be represented by such a product.
-
Density Operators and Reduced States
Represent mixtures with matrices and compute what can be observed on one qubit of an entangled pair.
-
Quantum Teleportation and Classical Correction
Account for the shared entanglement and classical bits needed to transfer an unknown qubit’s state without creating a second copy.
-
Phase Kickback from a Controlled Unitary
Turn a controlled operation on an eigenvector into a relative phase on its control and show how a basis change measures that phase.
-
Quantum Phase Estimation and Precision Costs
Encode an eigenphase across a counting register and identify how controlled powers, measurement resolution, and approximation interact.
-
Quantum Error Syndromes Without Reading Logical Data
Use parity measurements on a repetition encoding to detect a bit flip without measuring which logical basis component is present.