English

How to simulate quantum measurement without computing marginals

Quantum Physics 2022-06-15 v2

Abstract

We describe and analyze algorithms for classically simulating measurement of an nn-qubit quantum state ψ\psi in the standard basis, that is, sampling a bit string xx from the probability distribution xψ2|\langle x|\psi\rangle|^2. Our algorithms reduce the sampling task to computing poly(n)(n) amplitudes of nn-qubit states; unlike previously known techniques they do not require computation of marginal probabilities. First we consider the case where ψ=U0n|\psi\rangle=U|0^n\rangle is the output state of an mm-gate quantum circuit UU. We propose an exact sampling algorithm which involves computing O(m)O(m) amplitudes of nn-qubit states generated by subcircuits of UU spanned by the first t=1,2,,mt=1,2,\ldots,m gates. We show that our algorithm can significantly accelerate quantum circuit simulations based on tensor network contraction methods or low-rank stabilizer decompositions. As another striking consequence we obtain an efficient classical simulation algorithm for measurement-based quantum computation with the surface code resource state on any planar graph, generalizing a previous algorithm which was known to be efficient only under restrictive topological constraints on the ordering of single-qubit measurements. Second, we consider the case in which ψ\psi is the unique ground state of a local Hamiltonian with a spectral gap that is lower bounded by an inverse polynomial function of nn. We prove that a simple Metropolis-Hastings Markov Chain mixes rapidly to the desired probability distribution provided that ψ\psi obeys a certain technical condition, which we show is satisfied for all sign-problem free Hamiltonians. This gives a sampling algorithm which involves computing poly(n)\mathrm{poly}(n) amplitudes of ψ\psi.

Keywords

Cite

@article{arxiv.2112.08499,
  title  = {How to simulate quantum measurement without computing marginals},
  author = {Sergey Bravyi and David Gosset and Yinchen Liu},
  journal= {arXiv preprint arXiv:2112.08499},
  year   = {2022}
}

Comments

In v2 we have redone the tensor network circuit simulations using the "dynamic slicing" setting in CoTenGra as suggested to us by Johnnie Gray

R2 v1 2026-06-24T08:19:24.305Z