BQP and Quantum Complexity Classes

Research Depth 128 in the knowledge graph I know this Set as goal
Unlocks 4 downstream topics
BQP complexity-class quantum-complexity P-vs-NP QMA

Core Idea

BQP (Bounded-Error Quantum Polynomial Time) is the class of decision problems solvable by a polynomial-time quantum computer with error probability at most 1/3. It is the quantum analog of BPP. The known containments are P subset of BPP subset of BQP subset of PSPACE, and BQP is believed to be strictly between BPP and PSPACE. Factoring is in BQP but not known to be in BPP, providing evidence that BQP is strictly larger than BPP. BQP is believed not to contain NP-complete problems, implying quantum computers are not expected to solve all of NP efficiently. QMA (Quantum Merlin Arthur) is the quantum analog of NP/MA, with a quantum proof verified by a quantum computer.

Explainer

Complexity theory classifies problems by the resources needed to solve them. Classical complexity has P (deterministic polynomial time), BPP (randomized polynomial time), NP (nondeterministic polynomial time), and PSPACE (polynomial space). Quantum computing introduces BQP — the problems solvable by a quantum computer in polynomial time with bounded error. Understanding where BQP sits relative to classical classes reveals what quantum computers can and cannot do.

The formal definition: a language L is in BQP if there exists a polynomial-time uniform family of quantum circuits {C_n} such that for every input x of length n, C_n accepts x with probability at least 2/3 if x is in L, and rejects with probability at least 2/3 if x is not in L. The 2/3 threshold is arbitrary (as with BPP) — any constant bounded away from 1/2 works, because repeated execution and majority voting amplify the success probability exponentially.

The known containments are P subset of BPP subset of BQP subset of PSPACE. P in BPP is obvious (deterministic is a special case of randomized). BPP in BQP follows because a quantum computer can simulate any classical randomized computation. BQP in PSPACE is because a classical computer can simulate quantum computation using polynomial space (track the 2^n-dimensional state vector one amplitude at a time). The key question is where BQP sits strictly: is BQP larger than BPP? Is it smaller than PSPACE?

Evidence that BQP is strictly larger than BPP comes from Shor's algorithm: factoring is in BQP but not known to be in BPP (and the best classical algorithms are sub-exponential). Evidence that BQP does not contain NP comes from Grover's lower bound: unstructured search (the essence of NP-hard problems) gets only a quadratic speedup, not enough for polynomial time. If BQP contained NP, then NP would be in PSPACE, which is believed true, but it would also mean NP-complete problems have polynomial quantum algorithms — contradicting the structural evidence. The current consensus is that BQP and NP are incomparable: BQP contains problems outside NP (like quantum simulation), and NP contains problems outside BQP (like NP-complete satisfiability).

QMA extends this landscape to quantum verification. A QMA problem has a quantum prover who sends a polynomial-size quantum state as proof, and a quantum verifier who checks it in polynomial time. Kitaev proved that the Local Hamiltonian problem (determining whether a many-body quantum system's ground-state energy is below a threshold) is QMA-complete — the quantum analog of SAT being NP-complete. This establishes that certain quantum physics problems are computationally hard even for quantum computers, and it connects quantum complexity theory directly to condensed matter physics and quantum chemistry.

Practice Questions 3 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsCombining Like TermsOne-Step EquationsTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIterated Integrals and Fubini's TheoremDouble Integrals in Cartesian CoordinatesDouble Integrals over Rectangular RegionsDouble Integrals in Polar CoordinatesDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsTriple Integrals in Cartesian CoordinatesTriple Integrals in Cylindrical and Spherical CoordinatesChange of Variables and the Jacobian DeterminantApplications of Triple Integrals: Volume and MassVector Fields and Their RepresentationsLine Integrals of Vector FieldsGreen's TheoremSurface Integrals and Flux of Vector FieldsSurface Integrals and Flux of Vector FieldsDivergence Theorem: Flux and OutflowDivergence TheoremElectric FluxGauss's LawConductors in Electrostatic EquilibriumCapacitance and CapacitorsDielectricsDielectric Constant and Relative PermittivityElectric Field Inside Dielectric MaterialsDielectric Materials and PolarizationDielectric Susceptibility and PermittivityEnergy Density in Electric FieldsElectric Current and Current DensityElectrical Resistance and ResistivityOhm's Law and Circuit ElementsElectromotive Force (EMF) and BatteriesKirchhoff's Circuit Laws: Voltage and CurrentDC Circuit Network Analysis MethodsTransient Response in RC CircuitsRC CircuitsLC and RLC CircuitsAC Circuits: FundamentalsImpedance and ReactanceAC Power and ResonanceElectromagnetic WavesThe Electromagnetic SpectrumBlackbody Radiation and Planck's LawPhotoelectric EffectThe Photon: Light as QuantaCompton ScatteringWave-Particle Dualityde Broglie WavelengthHeisenberg Uncertainty PrincipleWavefunction and the Born RuleThe Schrödinger EquationSchrödinger Equation: Time-Dependent FormWavefunctions and Boundary ConditionsBoundary Value Problems in ElectrostaticsParticle in a Box (Infinite Square Well)Quantum NumbersSpin-1/2 SystemsPauli MatricesQuantum GatesQuantum CircuitsBQP and Quantum Complexity Classes

Longest path: 129 steps · 788 total prerequisite topics

Prerequisites (4)

Leads To (3)