Skip to main content
KetQat

Appearance

Theorem · advanced

Simulation of quantum circuits of bounded treewidth

A quantum circuit with T gates whose underlying graph has treewidth d can be simulated classically and deterministically in time T to a constant power times exp(O(d)). Logarithmic treewidth, as in log-depth circuits of local gates, means efficient simulation.

Peer-reviewed resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Let CC be a quantum circuit with TT gates whose underlying graph GCG_C has treewidth dd. Then CC can be simulated by a deterministic classical algorithm in time

TO(1) exp⁡ ⁣(O(d)),T^{O(1)}\, \exp\!\big(O(d)\big),

which is polynomial in TT when d=O(log⁡T)d = O(\log T) (Markov and Shi). The algorithm views the circuit as a tensor network and contracts it in an order derived from a tree decomposition; the cost of the best contraction order is exponential in the treewidth of the line graph of GCG_C, which is within constant factors of the treewidth of GCG_C for bounded-degree graphs.

Two consequences stated by the authors: circuits of depth O(log⁡T)O(\log T) whose gates act only on nearby qubits have logarithmic treewidth and are classically simulable; and a one-way (measurement-based) computation on a graph state of treewidth dd can be simulated by a randomized algorithm in time TO(1)exp⁡(O(d))T^{O(1)} \exp(O(d)).

Holds when

  • Circuits of TT gates, each acting on a bounded number of qubits; the underlying graph has a vertex per gate (and per input and output) and an edge per wire segment.
  • The simulation computes output amplitudes or probabilities to within numerical precision; treewidth is of the circuit's graph, not of any qubit layout.
Part of

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Igor L. Markov, Yaoyun Shi (2008). Simulating quantum computation by contracting tensor networks. SIAM Journal on Computing 38, 963-981. doi:10.1137/050644756arXiv:quant-ph/0511069

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Compared with Markov-Shi arXiv:quant-ph/0511069 v7: abstract (deterministic T^{O(1)} exp[O(d)] simulation, polynomial for d = O(log T), log-depth circuits with nearby-qubit gates, randomized simulation of one-way computation on small-treewidth graph states), contraction complexity as treewidth of the line graph and Lemma 4.4 ((tw(G)-1)/2 <= tw(G*) <= Delta(G)(tw(G)+1)-1); metadata confirmed via the arXiv API.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision a09fea4146b14e09. Source file knowledge/records/theorem/treewidth-bounded-circuit-simulation.md in the content repository (readable there once it is public).