IP Library Granted Patent US 12,694,313
Granted Patent B2
US 12,694,313 · App. 17/717,914 · Granted Jul 28, 2026

Quantum circuit simulation

Inventors: Roman Sergeevich Schutski (Moscow, RU); Ivan Valerevich Oseledets (Moscow, RU); Yuriy Alexandrovich Zotov (Moscow, RU); Dmitry Sergeevich Kolmakov (Moscow, RU)
Assignees: Huawei Technologies Co., Ltd.; Skolkovo Institute of Science and Technology
G06N10/20G06N10/60
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,694,313
App. No.
17/717,914
Filed
Apr 11, 2022
Granted
Jul 28, 2026
Kind
B2
Art Unit
2144
USPC
706/62
Abstract

An apparatus and method for simulating a quantum circuit are provided. In particular, an indication of a subset of input and output qubits of the quantum circuit is received. The indicated subset corresponds to an amplitude tensor of the quantum circuit that is to be determined, wherein the amplitude tensor comprises amplitudes for different combinations of states of the qubits of the indicated subset. Using a tensor network of the quantum circuit and Restricted Maximum Cardinality Search (RMCS), an elimination order of intermediate qubits within the quantum circuit is determined. The amplitude tensor is determined by removing, successively in accordance with the elimination order, that indices of the tensors of the tensor network that correspond to the intermediate qubits from the tensor network.

Claims (60)

1 . An apparatus for simulating a quantum circuit for at least one of verification and validation of a quantum processor, the apparatus including a processing circuitry configured to:

receive an indication of a subset of input and output qubits of the quantum circuit, the indicated subset corresponding to an amplitude tensor of the quantum circuit that is to be determined, the amplitude tensor comprising amplitudes for different combinations of states of qubits of the indicated subset;

determine, using a tensor network of the quantum circuit and Maximum Cardinality Search (MCS), an elimination order of intermediate qubits within the quantum circuit,

wherein the qubits of the indicated subset are placed at an end of an elimination sequence of the elimination order; and

determine the amplitude tensor by removing, successively in accordance with the elimination order, indices of tensors of the tensor network that correspond to the intermediate qubits from the tensor network;

wherein qubits, unique indices among the indices of tensors, and vertices are in a one-to-one-to-one correspondence.

2 . The apparatus according to claim 1 , wherein the elimination order is determined iteratively, in a reverse order, by selecting from the intermediate qubits, in each process of the iteration, an intermediate qubit that has not been selected in any preceding process of the iteration, and corresponds to, in a chordal graph representing the tensor network, a vertex neighboring a maximum number of vertices that correspond to either the following (a) or (b):

(a) an intermediate qubit that has been selected in any preceding process of the iteration, or

(b) a qubit in the indicated subset.

3 . The apparatus according to claim 2 , wherein each intermediate qubit uniquely corresponds to a respective index of the tensors, each qubit in the indicated subset uniquely corresponds to a respective index of the tensors, and each index of the tensors uniquely corresponds to either an input qubit, an output qubit, or an intermediate qubit; and/or

a one-to-one correspondence exists between the vertices of the chordal graph and indices that correspond to either an intermediate qubit or a qubit in the indicated subset.

4 . The apparatus according to claim 2 , wherein the chordal graph representing the tensor network is a chordal completion of a non-chordal graph representing the tensor network that has a minimized maximal clique among chordal completions of the non-chordal graph.

5 . The apparatus according to claim 4 , wherein the chordal graph is obtained from the non-chordal graph representing the tensor network using an optimized elimination order of the vertices of the non-chordal graph,

wherein the chordal graph is obtained by adding edges to the non-chordal graph such that, for each vertex, all neighbors of the vertex that are later in the optimized elimination order than the vertex are a clique in the chordal graph.

6 . The apparatus according to claim 5 , wherein for each quantum gate of the quantum circuit, there is a tensor of the tensor network that has, for each qubit of the quantum gate that is either an intermediate qubit or in the indicated subset, one index that corresponds to the qubit;

for each quantum gate of the quantum circuit, that vertices of the non-chordal graph that correspond to the qubits of the quantum gate are a clique.

7 . The apparatus according to claim 6 , wherein the determining of the elimination order of the intermediate qubits includes: determining the optimized elimination order.

8 . The apparatus according to claim 7 , wherein the optimized elimination order of the vertices of the non-chordal graph representing the tensor network is determined using an optimization procedure,

wherein the optimization procedure minimizes a maximal clique of a graph that is obtained by adding edges to the non-chordal graph such that, for each vertex of the graph, all neighbors of the vertex that are later in the optimized elimination order than the vertex are a clique in the graph.

9 . The apparatus according to claim 7 , wherein before determining of the optimized elimination order, the non-chordal graph is modified by adding, to the non-chordal graph, edges such that the vertices corresponding to the qubits of the indicated subset are a clique.

10 . The apparatus according to claim 1 , wherein the processing circuitry is configured to:

determine, in accordance with the indicated subset, a non-chordal graph representing the tensor network such that both of the following situations (i) and (ii) exist:

(i) a one-to-one correspondence exists between the vertices of the non-chordal graph and indices of the tensors that correspond to either an intermediate qubit or a qubit in the indicated subset; and

(ii) for each tensor of the tensor network, the vertices of the non-chordal graph that correspond to the tensor are a clique.

11 . The apparatus according to claim 1 , wherein the processing circuitry is configured to:

determine, in accordance with the indicated subset, a non-chordal graph representing the tensor network from a generic non-chordal graph representing the tensor network by adding the following (a) and (b):

(a) for each input or output qubit that is in the indicated subset, a single vertex that corresponds to said qubit, and

(b) edges, such that, for each quantum gate of the quantum circuit, vertices of the non-chordal graph that correspond to the qubits of the quantum gate are a clique,

wherein there is a one-to-one correspondence between the vertices of the generic non-chordal graph and the intermediate qubits.

12 . The apparatus according to claim 1 wherein the processing circuitry is configured to:

determine, in accordance with the indicated subset, a non-chordal graph representing the tensor network from a universal non-chordal graph representing the tensor network by removing, for each input or output qubit that is not in the indicated subset, both of the following (a) and (b):

(a) all edges connecting a vertex that corresponds to the qubit, and

(b) all vertices that correspond to the qubit;

wherein there is a one-to-one correspondence between the vertices of the universal non-chordal graph and qubits of the quantum circuit, wherein each qubit of the quantum circuit is either an input qubit, an output qubit, or an intermediate qubit.

13 . The apparatus according to claim 1 , wherein the processing circuitry is configured to:

remove, before removing the indices corresponding to the intermediate qubits, indices from the tensors of the tensor network that correspond to either an input qubit that is not in the indicated subset, or an output qubit that is not in the indicated subset.

14 . The apparatus according to claim 1 , wherein the indices corresponding to either an input qubit that is not in the indicated subset or an output qubit that is not in the indicated subset are removed from the tensor network by setting the indices to respective predetermined values; and/or

the indices corresponding to the intermediate qubits are removed from the tensor network by contraction.

15 . A method for simulating a quantum circuit for at least one of verification and validation of a quantum processor, applied to a processing circuitry of an apparatus, the method comprising:

receiving an indication of a subset of input and output qubits of the quantum circuit, the indicated subset corresponding to an amplitude tensor of the quantum circuit that is to be determined, the amplitude tensor comprising amplitudes for different combinations of states of qubits of the indicated subset;

determining, using a tensor network of the quantum circuit and Maximum Cardinality Search (MCS), an elimination order of intermediate qubits within the quantum circuit,

wherein the qubits of the indicated subset are placed at an end of an elimination sequence of the elimination order; and

determining the amplitude tensor by removing, successively in accordance with the elimination order, indices of the tensors of the tensor network that correspond to the intermediate qubits from the tensor network,

wherein qubits, unique indices among the indices of tensors, and vertices are in a one-to-one-to-one correspondence.

16 . The method according to claim 15 , wherein the elimination order is determined iteratively, in a reverse order, by selecting from the intermediate qubits, in each process of the iteration, an intermediate qubit that has not been selected in any preceding process of the iteration, and corresponds to, in a chordal graph representing the tensor network, a vertex neighboring a maximum number of vertices that correspond to either the following (a) or (b):

(a) an intermediate qubit that has been selected in any preceding process of the iteration, or

(b) a qubit in the indicated subset.

17 . The method according to claim 16 , wherein each intermediate qubit uniquely corresponds to a respective index of the tensors, each qubit in the indicated subset uniquely corresponds to a respective index of the tensors, and each index of the tensors uniquely corresponds to either an input qubit, an output qubit, or an intermediate qubit; and/or

a one-to-one correspondence exists between the vertices of the chordal graph and indices that correspond to either an intermediate qubit or a qubit in the indicated subset.

18 . A non-transitory computer-readable medium, comprising processor-executable instructions which, when executed by a processing circuitry of an apparatus, cause the apparatus to implement a method for simulating a quantum circuit for at least one of verification and validation of a quantum processor, the method comprising:

receiving an indication of a subset of input and output qubits of the quantum circuit, the indicated subset corresponding to an amplitude tensor of the quantum circuit that is to be determined, the amplitude tensor comprising amplitudes for different combinations of states of qubits of the indicated subset;

determining, using a tensor network of the quantum circuit and Maximum Cardinality Search (MCS), an elimination order of intermediate qubits within the quantum circuit,

wherein the qubits of the indicated subset are placed at an end of an elimination sequence of the elimination order; and

determining the amplitude tensor by removing, successively in accordance with the elimination order, indices of the tensors of the tensor network that correspond to the intermediate qubits from the tensor network,

wherein qubits, unique indices among the indices of tensors, and vertices are in a one-to-one-to-one correspondence.

19 . The non-transitory computer-readable medium according to claim 18 , wherein the elimination order is determined iteratively, in a reverse order, by selecting from the intermediate qubits, in each process of the iteration, an intermediate qubit that has not been selected in any preceding process of the iteration, and corresponds to, in a chordal graph representing the tensor network, a vertex neighboring a maximum number of vertices that correspond to either the following (a) or (b):

(a) an intermediate qubit that has been selected in any preceding process of the iteration, or

(b) a qubit in the indicated subset.

20 . The non-transitory computer-readable medium according to claim 19 , wherein each intermediate qubit uniquely corresponds to a respective index of the tensors, each qubit in the indicated subset uniquely corresponds to a respective index of the tensors, and each index of the tensors uniquely corresponds to either an input qubit, an output qubit, or an intermediate qubit; and/or

a one-to-one correspondence exists between the vertices of the chordal graph and indices that correspond to either an intermediate qubit or a qubit in the indicated subset.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 22, 2026
From: SCHUTSKI, ROMAN SERGEEVICH; OSELEDETS, IVAN VALEREVICH; ZOTOV, YURIY ALEXANDROVICH; KOLMAKOV, DMITRY SERGEEVICH
To: HUAWEI TECHNOLOGIES CO., LTD.; SKOLKOVO INSTITUTE OF SCIENCE AND TECHNOLOGY
Reel/Frame 074443/0660 →
Continuity (2)
Continuation PCTRU2019000727 · Oct 11, 2019
Related Publication 20220245499A1 · Aug 4, 2022
References Cited (27)
US 11334693B1 · Flammia · 2022 [cited by examiner]
US 20160071021A1 · Raymond · 2016 [cited by examiner]
US 20210081804A1 · Stojevic · 2021 [cited by examiner]
US 20210350056A1 · Chen · 2021 [cited by examiner]
US 20210406954A1 · Kachman · 2021 [cited by examiner]
Graph Theory and Sparse Matrix Computation; Author: George et. al.; https://link.springer.com/book/10.1007/978-1-4613-8369-7 (Year: 1993). [cited by examiner]
Classical Simulation of Intermediate-Size Quantum Circuits; Author: Chen et. al. (Year: 2018). [cited by examiner]
Simulation of low-depth quantum circuits as complex undirected graphical models Boixo et. al. (Year: 2018). [cited by examiner]
Chen et al., “Classical Simulation of Intermediate-Size Quantum Circuits,” Arxiv.org, Cornell University Library, pp. 1-12, XP080885512 (Submitted on May 3, 2018, last revised May 7, 2018). [cited by applicant]
De Raedt et al., “Massively parallel quantum computer simulator, eleven years later,” Preprint submitted to Computer Physics Communications, arxiv.org, Cornell University Library, Total 18 pages (May 2018). [cited by applicant]
Bauer, “Tensor network states,” Diss. ETH No. 19916, Total 188 pages (2011). [cited by applicant]
Chakraborty et al., “Space-efficient algorithms for maximum cardinality search, its applications, and variants of BFS,” Journal of Combinatorial Optimization (2019), vol. 37, No. 2, pp. 465-481, XP036714951, Springer Sc… [cited by applicant]
Markov et al., “Simulating quantum computation by contracting tensor networks,” arxiv.org, Cornell University Library, pp. 1-21 (Jul. 2009). [cited by applicant]
Biamonte et al. “Quantum Tensor Networks in a Nutshell,” arxiv.org, Cornell University Library, pp. 1-34 (Jul. 31, 2017). [cited by applicant]
Boixo et al., “Simulation of low-depth quantum circuits as complex undirected graphical models,” arxiv.org, Cornell University Library, pp. 1-12 (Jan. 2018). [cited by applicant]
Guo et al., “General-Purpose Quantum Circuit Simulator with Projected Entangled-Pair States and the Quantum Supremacy Frontier,” Physical Review Letter 123, 190501, pp. 1-6, American Physical Society (Nov. 2019). [cited by applicant]
Li et al., “Quantum Supremacy Circuit Simulation on Sunway TaihuLight,” arxiv.org, Cornell University Library, Total 11 pages (Aug. 2018). [cited by applicant]
Villalonga et al., “A flexible high-performance simulator for verifying and benchmarking quantum circuits Implemented on real hardware,” Nature Partner Journals, Quantum Information 5, Article No. 86, pp. 1-16, https://… [cited by applicant]
Pednault et al., “Breaking the 49-Qubit Barrier in the Simulation of Quantum Circuits,” arxiv.org, Cornell University Library, Total 25 pages (Oct. 2017). [cited by applicant]
Khammassi et al., “QX: A High-Performance Quantum Computer Simulation Platform,” Design, Automation and Test in Europe Conference and Exhibition (Date), 2017, pp. 464-469, doi: 10.23919/DATE.2017.7927034, Institute of E… [cited by applicant]
Chen et al., “64-qubit quantum circuit simulation,” Chinese Science Bulletin, Total 21 pages (2018). [cited by applicant]
Jones et al., “QuEST and High Performance Simulation of Quantum Computers,” Nature, Scientific Reports 9, 10736 (2019), https://doi.org/10.1038/s41598-019-47174-9 (Jul. 2019). [cited by applicant]
Bodlaender et al., “On exact algorithms for treewidth,” ACM Transactions on Algorithms, vol. 9, No. 1, Total 28 pages (Dec. 2012). [cited by applicant]
Zhang et al., “Alibaba Cloud Quantum Development Platform: Large-Scale Classical Simulation of Quantum Circuits,” Arxiv.org, Cornell University Library, pp. 1-5 (Sep. 5, 2019). [cited by applicant]
Tarjan et al., “Simple Linear-Time Algorithms to Test Chordality of Graph, Test Acyclicity of Hypergraphs, and Selectively Reduce Acyclic Hypergraphs,” Society for Industrial and Applied Mathematics, vol. 13, No. 3, Tot… [cited by applicant]
Gogate et al., “A Complete Anytime Algorithm for Treewidth,” UAI'04: Proceedings of the 20th conference on Uncertainty in artificial intelligence, pp. 201-208 (Jul. 2004). [cited by applicant]
Dechter et al., “Bucket elimination: A unifying framework for reasoning,” Artificial Intelligence 113, pp. 41-85, Elsevier Science B.V. (May 1999). [cited by applicant]