IP Library Granted Patent US 12,299,533
Granted Patent B2
US 12,299,533 · App. 18/080,614 · Granted May 13, 2025

Simulation of quantum circuits

Inventors: Sergio Boixo Castrillo (Rancho Palos Verdes, CA); Vadim Smelyanskiy (Mountain View, CA)
Assignee: Google LLC
G06N10/20G06F30/3308G06N10/80G06F7/5443
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,299,533
App. No.
18/080,614
Granted
May 13, 2025
Kind
B2
Abstract

Methods, systems and apparatus for simulating quantum circuits including multiple quantum logic gates. In one aspect, a method includes the actions of representing the multiple quantum logic gates as functions of one or more classical Boolean variables that define a undirected graphical model with each classical Boolean variable representing a vertex in the model and each function of respective classical Boolean variables representing a clique between vertices corresponding to the respective classical Boolean variables; representing the probability of obtaining a particular output bit string from the quantum circuit as a first sum of products of the functions; and calculating the probability of obtaining the particular output bit string from the quantum circuit by directly evaluating the sum of products of the functions. The calculated partition function is used to (i) calibrate, (ii) validate, or (iii) benchmark quantum computing hardware implementing a quantum circuit.

Claims (147)

1. A computer-implemented method for simulating a quantum circuit the method comprising:

receiving data representing the quantum circuit;

generating a simulation of the quantum circuit using the received data, comprising:

representing the quantum circuit as a product of unitary matrices corresponding to a sequence of clock cycles, wherein the unitary matrices represent quantum logic gates included in the quantum circuit;

representing a probability that a predefined bit string is output after application of a final clock cycle of the quantum circuit on a system of qubits as a partition function of a classical Ising model of interacting spins, wherein the partition function of the classical Ising model comprises a sum, over each configuration of spins in the classical Ising model, of an exponential function of an energy of the configuration of spins multiplied by an inverse of an imaginary temperature, the probability being dependent on the product of unitary matrices; and

calculating, without applying approximations, the partition function to determine the probability that the predefined bit string is output after application of the final clock cycle of the quantum circuit on the system of qubits, the calculating comprising:

applying an algorithm for performing exact inference on a graphical models that represents the classical Ising model, wherein nodes in the graphical model represent the spins in the classical Ising model and edges in the graphical model represent interactions between spins; and

determining one or more properties of the quantum circuit using the generated simulation.

2. The method of claim 1 , wherein exactly calculating the partition function without applying approximations comprises:

determining a treewidth of the graphical model that represents the classical Ising model; and

applying, using the determined treewidth, the algorithm for performing exact inference on the graphical models to calculate the partition function of the classical Ising model.

3. The method of claim 1 , wherein the algorithm for performing exact inference on the graphical models that represents the classical Ising model comprises a bucket elimination algorithm or a variable elimination algorithm.

4. The method of claim 1 , wherein the computational cost of the algorithm for performing exact inference on the graphical model that represents the classical Ising model is exponential in a treewidth of the graphical model that represents the classical Ising model.

5. The method of claim 1 , wherein the probability that a predefined bit string is output after application of a final clock cycle of the quantum circuit is equal to a path integral comprising multiple phase factors associated with paths in the path integral, wherein values of the phase factors are accumulated as a sum of discrete phase changes associated with the quantum logic gates in the quantum circuit.

6. The method of claim 1 , wherein the quantum circuit is configured to operate on qubits arranged as a two-dimensional lattice.

7. The method of claim 1 , wherein the quantum circuit comprises (i) controlled-phase, (ii) X 1/2 , (iii) Y 1/2 , and (iv) non-Clifford T quantum logic gates.

8. The method of claim 1 , wherein the quantum circuit comprises a depth of d clock cycles.

9. The method of claim 1 , wherein the imaginary temperature comprises

i

π

4

.

10. The method of claim 1 , wherein the probability that a predefined bit string is output after application of a final clock cycle of the quantum circuit on a system of qubits is given by

x

ψ

d

=

{

σ

t

}

t

=

0

d

σ

t

"\[LeftBracketingBar]"

U

(

t

)

"\[RightBracketingBar]"

σ

t

-

1

,

"\[LeftBracketingBar]"

σ

d

=

"\[LeftBracketingBar]"

x

where |x represents the predefined bit string, |ψ d represents the state of the system of n qubits after application of the final clock cycle d of the quantum circuit, U (t) represents the product of unitary matrices corresponding to the sequence of clock cycles 1 to d, and |σ t =⊗ j=1 n |σ j t with the assignments of σ j t =±1 corresponding to the states 0 and 1 of the j-th qubit, respectively.

11. The method of claim 5 , wherein the partition function of the classical Ising model at imaginary temperature is given by

x

ψ

d

=

2

-

G

/

2

s

exp

(

i

π

4

H

S

(

x

)

)

where's represents configurations of spins included in the classical Ising model, represents the

i

π

4

represents the inverse of the imaginary temperature, and

i

π

4

H

S

(

x

)

represents the energy of the configuration of spins s multiplied by the inverse of the imaginary temperature, wherein

i

π

4

H

S

(

x

)

also represents phase factors associated with each path in the path integral and 2 −G/2 represents absolute values of probability amplitudes associated with the paths in the path integral.

12. The method of claim 1 , wherein determining one or more properties of the quantum circuit using the generated simulation comprises using the calculated partition function to determine the performance of the quantum circuit.

13. The method of any one of claim 1 , wherein determining one or more properties of the quantum circuit using the generated simulation comprises using the calculated partition function to (i) calibrate, (ii) validate, or (iii) benchmark quantum computing hardware implementing the quantum circuit.

14. A system comprising one or more computers and one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform the operations of:

receiving data representing a quantum circuit;

generating a simulation of the quantum circuit using the received data, comprising:

representing the quantum circuit as a product of unitary matrices corresponding to a sequence of clock cycles, wherein the unitary matrices represent quantum logic gates included in the quantum circuit;

representing a probability that a predefined bit string is output after application of a final clock cycle of the quantum circuit on a system of qubits as a partition function of a classical Ising model of interacting spins, wherein the partition function of the classical Ising model comprises a sum, over each configuration of spins in the classical Ising model, of an exponential function of an energy of the configuration of spins multiplied by an inverse of an imaginary temperature, the probability being dependent on the product of unitary matrices; and

calculating, without applying approximations, the partition function to determine the probability that the predefined bit string is output after application of the final clock cycle of the quantum circuit on the system of qubits, the calculating comprising:

applying an algorithm for performing exact inference on a graphical models that represents the classical Ising model, wherein nodes in the graphical model represent the spins in the classical Ising model and edges in the graphical model represent interactions between spins; and

determining one or more properties of the quantum circuit using the generated simulation.

15. A non-transitory computer storage medium encoded with instructions that, when executed by one or more computers, cause the one or more computers to perform operations comprising:

receiving data representing a quantum circuit;

generating a simulation of the quantum circuit using the received data, comprising:

representing the quantum circuit as a product of unitary matrices corresponding to a sequence of clock cycles, wherein the unitary matrices represent quantum logic gates included in the quantum circuit;

representing a probability that a predefined bit string is output after application of a final clock cycle of the quantum circuit on a system of qubits as a partition function of a classical Ising model of interacting spins, wherein the partition function of the classical Ising model comprises a sum, over each configuration of spins in the classical Ising model, of an exponential function of an energy of the configuration of spins multiplied by an inverse of an imaginary temperature, the probability being dependent on the product of unitary matrices; and

calculating, without applying approximations, the partition function to determine the probability that the predefined bit string is output after application of the final clock cycle of the quantum circuit on the system of qubits, the calculating comprising:

applying an algorithm for performing exact inference on a graphical models that represents the classical Ising model, wherein nodes in the graphical model represent the spins in the classical Ising model and edges in the graphical model represent interactions between spins; and

determining one or more properties of the quantum circuit using the generated simulation.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 16, 2023
From: BOIXO CASTRILLO, SERGIO; SMELYANSKIY, VADIM
To: GOOGLE LLC
Reel/Frame 063663/0840 →
Continuity (3)
Division 16754998
Provisional Application 62574050 · Oct 18, 2017
Related Publication 20230118636A1 · Apr 20, 2023
References Cited (34)
US 11790130B2 · Handa · 2023 [cited by examiner]
US 12014246B2 · Bhaskar · 2024 [cited by examiner]
US 12045743B2 · Kliuchnikov · 2024 [cited by examiner]
US 20110060710A1 · Amin · 2011 [cited by applicant]
US 20200364597A1 · Friedlander · 2020 [cited by examiner]
US 20210089953A1 · Bocharov · 2021 [cited by examiner]
US 20210192114A1 · Boixo Castrillo · 2021 [cited by examiner]
US 20210374611A1 · Ronagh · 2021 [cited by examiner]
US 20220092454A1 · Kliuchnikov · 2022 [cited by examiner]
US 20220138538A1 · Terrell · 2022 [cited by examiner]
US 20220172096A1 · Rudolph · 2022 [cited by examiner]
US 20220188682A1 · van den Berg · 2022 [cited by examiner]
US 20230297865A1 · Layden · 2023 [cited by examiner]
US 20240211745A1 · Huang · 2024 [cited by examiner]
US 20240394328A1 · Takesue · 2024 [cited by examiner]
CN 104011723 · 2014 [cited by applicant]
CN 105531725 · 2016 [cited by applicant]
CN 105637514 · 2016 [cited by applicant]
CN 107004162 · 2017 [cited by applicant]
Office Action in Chinese Appln. No. 201780096102.X, mailed on Feb. 24, 2024, 11 pages (with English translation). [cited by applicant]
Office Action in European Appln. No. 22193793.1, mailed on Mar. 6, 2024, 15 pages. [cited by applicant]
Boixo et al, “Characterizing quantum supremacy in near-term devices” Submitted on Apr. 2017, arXiv:1608.00263v3, 23 pages. [cited by applicant]
Dechter, “Bucket Elimination: a unifying framework for processing hard and soft constraints” Constraints: An International Journal, Jan. 1998, 6 pages. [cited by applicant]
EP Office Action in European Appln. No. 17829097.9, dated Jan. 21, 2021, 10 pages. [cited by applicant]
Extended European Search Report in European Appln. No. 22193793.1, dated Feb. 28, 2023, 13 pages. [cited by applicant]
Fujii et al., “Commuting quantum circuits and complexity of lsing partition functions,” Submitted on Aug. 2016, arXiv:1311.2128v2, 36 pages. [cited by applicant]
International Preliminary Report on Patentability in International Appln. No. PCT/US2017/067083, mailed on Apr. 21, 2020, 12 pages. [cited by applicant]
International Search Report and Written Opinion in International Appln. No. PCT/US2017/067083, mailed on Jul. 11, 2018, 18 pages. [cited by applicant]
Office Action in Canadian Appln. No. 3,079,533, dated Jun. 1, 2021, 3 pages. [cited by applicant]
Office Action in Chinese Appln. No. 201780096102.X, dated Mar. 25, 2023, 37 pages (with English translation). [cited by applicant]
Pednault et al., “Breaking the 49-Qubit Barrier in the Simulation of Quantum Circuits” Submitted on Oct. 2017, arXiv:1710.05867v1, 24 pages. [cited by applicant]
Zhang et al., “Exploiting Causal Independence in Bayesian Network Inference” Journal of Artificial Intelligence Research 5, Dec. 1996, 301-328. [cited by applicant]
Office Action in Chinese Appln. No. 201780096102.X, mailed on Nov. 8, 2023, 14 pages (with English translation). [cited by applicant]
Office Action in Canadian Appln. No. 3,133,427, dated May 17, 2023, 5 pages. [cited by applicant]