IP Library › Granted Patent US 12,380,351
Granted Patent B2
US 12,380,351 · App. 17/752,204 · Granted Aug 5, 2025

Quantum circuit synthesis using CSP

Inventors: Amir Naveh (Haifa, IL); Shmuel Ur (Shorashim, IL); Yehuda Naveh (Tel-Aviv Yafo, IL); Ofek Kirzner (Haifa, IL); Ravid Alon (Tel Aviv, IL); Tal Goren (Kibbutz Nahsholim, IL); Adam Goldfeld (Kiryat Motzkin, IL); Nir Minerbi (Haifa, IL)
Assignee: Classiq Technologies LTD.
G06N10/00G06N5/01
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,380,351
App. No.
17/752,204
Granted
Aug 5, 2025
Kind
B2
Abstract

A method, system and product for synthesizing a quantum circuit using Constraint Satisfaction Problem (CSP). A functional-level representation of a quantum circuit that includes a first functional blocks and a second functional block is obtained. The functional-level representation defines a relationship between the first functional block and the second functional block. A CSP that is determined based on the functional-level representation, is automatically solved. The CSP is solved by identifying a first and second implementations to the first and second functional blocks that adhere to the CSP. A gate-level representation of the quantum circuit is synthesized using the first and second implementations.

Claims (69)

1. A method comprising:

obtaining a functional-level representation of a quantum circuit, the functional-level representation comprises a first functional blocks and a second functional block, the first functional block defining a first operation of the quantum circuit over at least two cycles, the second functional block defining a second operation of the quantum circuit over at least two cycles, wherein the functional-level representation defines a relationship between the first functional block and the second functional block;

determining a Constraint Satisfaction Problem (CSP) based on the functional-level representation of the quantum circuit, wherein the CSP comprises one or more constraints based on the relationship between the first functional block and the second functional block;

automatically solving the CSP to obtain a solution to the CSP, wherein said automatically solving comprises:

identifying a first implementation to the first functional block that adheres to the one or more constraints; and

identifying a second implementation to the second functional block that adheres to the one or more constraints; and

synthesizing a gate-level representation of the quantum circuit using the first implementation and the second implementation.

2. The method of claim 1 , wherein said identifying the first implementation comprises selecting a first gate-level implementation of the functional block from a function library, wherein the function library comprises a pre-existing set of alternative implementations for the first functional block.

3. The method of claim 2 , wherein the first gate-level implementation of the first functional block comprises at least two gates and at least two qubits.

4. The method of claim 2 , wherein the function library defines a different valuation to a set of properties for each alternative gate-level implementation of the first functional block, wherein the first gate-level implementation is selected based on valuations of the set of properties that adhere to the one or more constraints.

5. The method of claim 4 , wherein the set of properties comprises:

a depth of the alternative gate-level implementation;

a number of qubits utilized by the alternative gate-level implementation; and

a number of auxiliary qubits utilized by the alternative gate-level implementation.

6. The method of claim 4 , wherein the set of properties comprises at least one of:

a precision error of the alternative implementation; and

a hardware error rate of the alternative implementation.

7. The method of claim 4 , wherein the set of properties comprises at least one of:

an entanglement caused by the alternative gate-level implementation; and

a number of auxiliary qubits released by the alternative gate-level implementation.

8. The method of claim 1 , wherein the gate-level representation comprises a set of qubits and a set of gates, wherein each gate of the set of gates defining operations on the set of qubits or portion thereof by the quantum circuit at a different cycle, wherein the gate-level representation is devoid of any block that defines a function over more than a single cycle or that is implemented using more than a single gate.

9. The method of claim 1 ,

wherein the CSP defines a global constraint on a number of qubits utilized by the quantum circuit at a same cycle; and

wherein the CSP defines a global constraint on a hardware error rate of the quantum circuit.

10. The method of claim 1 , wherein the CSP defines an objective function to be optimized, wherein the objective function is based on at least one of:

a depth of the quantum circuit, wherein the depth of the quantum circuit indicates a number of cycles of the quantum circuit;

an area of the quantum circuit, wherein the area of the quantum circuit is defined based on the depth of the quantum circuit and a number of qubits;

a hardware error rate of the quantum circuit;

a precision error of the quantum circuit;

a count of utilizations of 2-qubit gates;

a count of utilizations of gates of a predefined gate type; and

a number of qubits utilized by the quantum circuit.

11. The method of claim 1 , wherein the CSP comprises at least one of:

a variable relating to a number of auxiliary qubits available in an auxiliary pool,

a variable indicating whether an available auxiliary qubit is clean or dirty, and

a variable indicating an inter-block timing in which an auxiliary qubit is released.

12. The method of claim 1 , wherein the CSP comprises a constraint on a sub-group of functional blocks of the quantum circuit.

13. The method of claim 1 , further comprises:

compiling the gate-level representation to synthesize an executable circuit for a quantum computer; and

executing the executable circuit using the quantum computer.

14. An apparatus comprising a processor and coupled memory, said processor being adapted to:

obtain a functional-level representation of a quantum circuit, the functional-level representation comprises a first functional blocks and a second functional block, the first functional block defining a first operation of the quantum circuit over at least two cycles, the second functional block defining a second operation of the quantum circuit over at least two cycles, wherein the functional-level representation defines a relationship between the first functional block and the second functional block;

determine a Constraint Satisfaction Problem (CSP) based on the functional-level representation of the quantum circuit, wherein the CSP comprises one or more constraints based on the relationship between the first functional block and the second functional block;

automatically solve the CSP to obtain a solution to the CSP, wherein automatically solving the CSP comprises:

identifying a first implementation to the first functional block that adheres to the one or more constraints; and

identifying a second implementation to the second functional block that adheres to the one or more constraints; and

synthesize a gate-level representation of the quantum circuit using the first implementation and the second implementation.

15. The apparatus of claim 14 ,

Wherein identifying the first implementation includes selecting a first gate-level implementation of the functional block from a function library, wherein the function library comprises a pre-existing set of alternative implementations for the first functional block;

wherein the synthesizing of the gate-level representation of the quantum circuit includes inlining the first and second gate-level implementations instead of the first and second functional blocks.

16. The apparatus of claim 15 , wherein the function library defines a different valuation to a set of properties for each alternative gate-level implementation of the first functional block, wherein the first gate-level implementation is selected based on valuations of the set of properties that adhere to the one or more constraints.

17. The apparatus of claim 14 , wherein the gate-level representation comprises a set of qubits and a set of gates, wherein each gate of the set of gates defining operations on the set of qubits or portion thereof by the quantum circuit at a different cycle, wherein the gate-level representation is devoid of any block that defines a function over more than a single cycle or that is implemented using more than a single gate.

18. The apparatus of claim 14 ,

wherein the CSP defines a global constraint on a number of qubits utilized by the quantum circuit at a same cycle; and

wherein the CSP defines a global constraint on a hardware error rate of the quantum circuit.

19. The apparatus of claim 14 , wherein the CSP defines an objective function to be optimized, wherein the objective function is based on at least one of:

a depth of the quantum circuit, wherein the depth of the quantum circuit indicates a number of cycles of the quantum circuit;

an area of the quantum circuit, wherein the area of the quantum circuit is defined based on the depth of the quantum circuit and a number of qubits;

a hardware error rate of the quantum circuit;

a precision error of the quantum circuit;

a count of utilizations of 2-qubit gates;

a count of utilizations of gates of a predefined gate type; and

a number of qubits utilized by the quantum circuit.

20. A computer program product comprising a non-transitory computer readable medium retaining program instructions, which program instructions when read by a processor, cause the processor to:

obtain a directed acyclic graph representing a quantum circuit, wherein the directed acyclic graph comprises a set of blocks and connections therebetween, wherein a connection between a first block and a second block indicates passing an output value of a qubit outputted by the first block to be an input value of a qubit manipulated by the second block;

wherein the first block defining a first operation of the quantum circuit over at least two cycles, the second block defining a second operation of the quantum circuit over at least two cycles;

determine a Constraint Satisfaction Problem (CSP) based on the directed acyclic graph, wherein the CSP comprises one or more constraints based on the connections defined by the directed acyclic graph;

automatically solve the CSP to obtain a solution to the CSP, wherein said automatically solving comprises selecting an implementation to each block that adheres to the one or more constraints; and

synthesize a gate-level representation of the quantum circuit based on the solution to the CSP.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 24, 2022
From: NAVEH, AMIR; UR, SHMUEL; NAVEH, YEHUDA; KIRZNER, OFEK; ALON, RAVID; GOREN, TAL; GOLDFELD, ADAM; MINERBI, NIR
To: CLASSIQ TECHNOLOGIES LTD.
Reel/Frame 060002/0293 →
Continuity (2)
Continuation 17499046 · Oct 12, 2021
Related Publication 20230115165A1 · Apr 13, 2023
References Cited (6)
US 20190121921A1 · Nam et al. · 2019 [cited by applicant]
US 20230196153A1 · Naveh · 2023 [cited by examiner]
WO WO2020131411A1 · 2020 [cited by examiner]
Haner, T., Steiger, D.S., Svore, K, & Troyer, M. (2018). A software methodology for compiling quantum programs. Quantum Science Technology, 3(2), 020501. Apr. 30, 2018 (Apr. 30, 2018). [cited by applicant]
Sivarajah, S., Dilkes, S., Cowtan, A., Simmons, W., Edgington, A., & Duncan, R. (2021), “A retargetable compiler for NISQ devices. Quantum Science and Technology” 6(1), 014003, Jan. 31, 2021 (Jan. 31, 2021). [cited by applicant]
International Search Report from International Application No. PCT/IL2022/050939 dated Apr. 5, 2023, 16 pgs. [cited by applicant]