IP Library › Granted Patent US 11,755,682
Granted Patent B2
US 11,755,682 · App. 16/022,914 · Granted Sep 12, 2023

Evaluating quantum computing circuits in view of the resource costs of a quantum algorithm

Inventors: Thomas Haener (Zurich, CH); Martin H. Roetteler (Woodinville, WA); Krysta M. Svore (Seattle, WA)
Assignee: Microsoft Technology Licensing, LLC
G06F17/11G06N10/00G06N10/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 11,755,682
App. No.
16/022,914
Granted
Sep 12, 2023
Kind
B2
Abstract

Methods for evaluating quantum computing circuits in view of the resource costs of a quantum algorithm are described. A processor-implemented method for performing an evaluation of a polynomial corresponding to an input is provided. The method includes determining a polynomial interpolation for a set of sub-intervals corresponding to the input. The method further includes constructing a quantum circuit for performing, in parallel, polynomial evaluation corresponding to each of the set of sub-intervals.

Claims (38)

1. A processor-implemented method for compiling a quantum circuit for performing an evaluation of a polynomial, the method comprising:

receiving an input comprising a polynomial function and a set of sub-intervals;

partitioning the polynomial function into the set of sub-intervals by determining whether an input value of the polynomial function falls into any of the set of sub-intervals;

computing a label register having at least one label indicative of at least one of the set of sub-intervals;

determining a polynomial interpolation for the set of sub-intervals corresponding to the input; and

using the processor generating an output including the quantum circuit to a quantum processor for execution,

wherein the quantum circuit comprises a label gate for initializing the label register and quantum gates for performing, in parallel, polynomial evaluation corresponding to each of the set of sub-intervals.

2. The processor-implemented method of claim 1 further comprising determining an overall achievable precision for any input value that falls into any of the set of intervals.

3. The processor-implemented method of claim 1 , wherein the set of sub-intervals is chosen by pre-processing the input.

4. The processor-implemented method of claim 1 , wherein the polynomial evaluation is performed in a nested fashion.

5. The processor-implemented method of claim 1 , wherein the polynomial evaluation is performed by applying a gate to load a next set of coefficients into a quantum register, while multiplying a previous set of coefficients by a variable to produce an output, and then adding the next set of coefficients to the output.

6. The processor-implemented method of claim 1 , wherein the input is divided into the set of sub-intervals to reduce an approximation error associated with the polynomial evaluation.

7. The processor-implemented method of claim 6 , wherein at least a subset of the set of intervals is fused together to reduce a quantum cost associated with the polynomial evaluation.

8. A processor-implemented method for compiling a quantum circuit for performing an evaluation of a polynomial corresponding to an input, the method comprising:

receiving by the processor an input comprising a polynomial function and an initial set of sub-intervals;

partitioning the polynomial function into the initial set of sub-intervals by determining whether an input value of the polynomial function falls into any of the initial set of sub-intervals;

computing a label register having at least one label indicative of at least one of the initial set of sub-intervals;

determining a polynomial interpolation of an initial degree d for the initial set of sub-intervals corresponding to the input;

determining whether a required target precision is achievable based on the initial degree d and the initial set of sub-intervals;

if the target precision is achievable, then generating an output including a quantum circuit to a quantum processor for execution; and

if the target precision is not achievable, then either incrementing the initial degree d or subdividing the initial set of subintervals into additional intervals until the target precision is achievable and then generating the output including the quantum circuit to the quantum processor for execution,

wherein the quantum circuit comprises a label gate for initializing the label register and quantum gates for performing, in parallel, polynomial evaluation corresponding to each of the set of sub-intervals.

9. The processor-implemented method of claim 8 , wherein the initial set of sub-intervals is chosen by pre-processing the input.

10. The processor-implemented method of claim 8 , wherein the polynomial evaluation is performed in a nested fashion.

11. The processor-implemented method of claim 8 , wherein the polynomial evaluation is performed by applying a gate to load a next set of coefficients into a quantum register, while multiplying a previous set of coefficients by a variable to produce an output, and then adding the next set of coefficients to the output.

12. The processor-implemented method of claim 8 , wherein the input is divided into the initial set of sub-intervals to reduce an approximation error associated with the polynomial evaluation.

13. The processor-implemented method of claim 8 , wherein at least a subset of the initial set of intervals is fused together to reduce a quantum cost associated with the polynomial evaluation.

14. A processor-implemented method for performing an evaluation of a polynomial, the method comprising:

receiving an input comprising a polynomial function and a set of sub-intervals;

partitioning the polynomial function into the set of sub-intervals by determining whether an input value of the polynomial function falls into any of the set of sub-intervals;

determining a polynomial interpolation for the set of sub-intervals corresponding to the input; and

using the processor generating an output including a quantum circuit for performing, in parallel, polynomial evaluation corresponding to each of the set of sub-intervals, wherein the polynomial evaluation is performed by applying a gate to load a next set of coefficients into a quantum register, while multiplying a previous set of coefficients by a variable to produce an output, and then adding the next set of coefficients to the output.

15. The processor-implemented method of claim 14 , further comprising determining an overall achievable precision for any input value that falls into any of the set of intervals.

16. The processor-implemented method of claim 14 , wherein the set of sub-intervals is chosen by pre-processing the input.

17. The processor-implemented method of claim 14 , wherein the polynomial evaluation is performed in a nested fashion.

18. The processor-implemented method of claim 14 , further comprising labeling the input value using a label indicative of one of the set of sub-intervals.

19. The processor-implemented method of claim 14 , wherein the previous set of coefficients are multiplied by a variable into a new register and the previous set of coefficients are stored as intermediate results.

20. The processor-implemented method of claim 14 , wherein the input is divided into the set of sub-intervals to reduce an approximation error associated with the polynomial evaluation, and wherein at least a subset of the set of intervals is fused together to reduce a quantum cost associated with the polynomial evaluation.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 30, 2018
From: ROETTELER, MARTIN H.
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 046752/0183 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 29, 2018
From: SVORE, KRYSTA M.; HAENER, THOMAS
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 046236/0076 →
Continuity (2)
Provisional Application 62676539 · May 25, 2018
Related Publication 20190361675A1 · Nov 28, 2019