A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

BQP and Quantum Complexity Classes

Research Depth 158 in the knowledge graph I know this Set as goal
4topics build on this
1,111prerequisites beneath it
See this on the map →
Complexity Class NP: Nondeterministic Polynomial TimeComplexity Class P: Polynomial Time+2 moreFault-Tolerant Quantum ComputationQuantum Supremacy and Computational Complexity+1 more
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 2n-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

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication 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 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-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 IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionDouble 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 FieldsWork and CirculationLine Integrals of Scalar and Vector FunctionsFundamental Theorem for Line IntegralsConservative Vector FieldsConservative Vector Fields and Potential FunctionsCurl and Divergence of Vector FieldsCurl and DivergenceDivergence TheoremElectric Flux and Divergence TheoremGauss's Law: Integral Form and MeaningSolving Problems with Gauss'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 WavesPostulates of Special RelativityTime DilationLength ContractionLorentz TransformationRelativistic Velocity AdditionRelativistic Momentum and EnergyMass-Energy Equivalence and E=mc²Photons as Particles with Energy and MomentumPlanck-Einstein Relation: Energy and FrequencyPhotoelectric EffectThe Photon: Light as QuantaCompton ScatteringWave-Particle Dualityde Broglie WavelengthThe Schrödinger EquationState Vectors and WavefunctionsQuantum SuperpositionQuantum EntanglementBell Theorem and Bell InequalitiesPostulates of Quantum MechanicsObservables and Quantum OperatorsCommutators and Commutation RelationsQuantum Angular MomentumQuantum Mechanical Treatment of HydrogenSolving the Schrödinger Equation for Hydrogen AtomQuantum NumbersSpin-1/2 SystemsPauli MatricesQuantum GatesQuantum CircuitsBQP and Quantum Complexity Classes

Longest path: 159 steps · 1111 total prerequisite topics

Prerequisites (4)

Leads To (3)