# US 2024/0119108 A1 · Evaluating quantum computing circuits in view of the resource costs of a quantum algorithm

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0119108 A1
- Document ID: US20240119108A1
- Status: Published application
- Kind: A1
- Application number: 18/356,634
- Filed: 2023-07-21
- Published: 2024-04-11
- Earliest claimed: 2018-05-25
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Thomas HAENER; Martin H. ROETTELER; Krysta M. Svore
- Web page: https://patentgrep.com/patent/US20240119108A1

## CPC

- G06N 10/20: Models of quantum computing, e.g. quantum circuits or universal quantum computers
- G06F 7/49989: {Interval arithmetic}
- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- G06F 17/11: for solving equations {, e.g. nonlinear equations, general mathematical optimization problems (optimization specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06N 10/60: Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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

### Claim at position 1

-20. (canceled)

### Claim 21

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;
for each interval of a set of sub-intervals corresponding to the input,
determining whether to perform the evaluation of the polynomial in a first mode or a second mode;
in the first mode, performing the evaluation of the polynomial by:
determining a polynomial interpolation of at most degree d for a first subset of the set of sub-intervals corresponding to the input, and
using the processor, generating an output including the quantum circuit for performing polynomial evaluation corresponding to each of the first subset of the set of sub-intervals 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 with the output; and
in the second mode, performing the evaluation of the polynomial using Newton's method for a second subset of the set of sub-intervals corresponding to the input, wherein the second subset is different from the first subset.

### Claim 22 (depends on 21)

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

### Claim 23 (depends on 21)

The processor-implemented method of claim 21, further comprising partitioning the input into the set of sub-intervals by determining whether an input value falls into any of the set of sub-intervals and labeling the input value using a label indicative of one of the set of sub-intervals.

### Claim 24 (depends on 21)

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

### Claim 25 (depends on 21)

The processor-implemented method of claim 21, further comprising determining a number of rounds of the Newton's method.

### Claim 26 (depends on 21)

The processor-implemented method of claim 21, wherein iterations corresponding to the Newton's method are implemented using a result of a pebbling strategy to meet a resource requirement corresponding to the quantum circuit.

### Claim 27 (depends on 26)

The processor-implemented method of claim 26, wherein the resource requirement is a number of available qubits corresponding to the quantum circuit.

### Claim 28 (depends on 26)

The processor-implemented method of claim 26, wherein the resource requirement is a circuit depth corresponding to the quantum circuit.

### Claim 29

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;
for each interval of a set of sub-intervals corresponding to the input, determining whether to perform the evaluation of the polynomial in a first mode or a second mode;
in the first mode, performing the evaluation of the polynomial by:
determining a polynomial interpolation of at most degree d for a first subset of the set of sub-intervals corresponding to the input, and
using the processor, generating an output including the quantum circuit for performing polynomial evaluation corresponding to each of the first subset of the set of sub-intervals by determining whether an input value of the polynomial function falls into any of the set of sub-intervals and computing a label register having at least one label indicative of at least one of the set of sub-intervals; and
in the second mode, performing the evaluation of the polynomial using Newton's method for a second subset of the set of sub-intervals corresponding to the input, wherein the second subset is different from the first subset.

### Claim 30 (depends on 29)

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

### Claim 31 (depends on 29)

The processor-implemented method of claim 29, 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.

### Claim 32 (depends on 29)

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

### Claim 33 (depends on 29)

The processor-implemented method of claim 29, wherein iterations corresponding to the Newton's method are implemented using a result of a pebbling strategy to meet a resource requirement corresponding to the quantum circuit.

### Claim 34 (depends on 33)

The processor-implemented method of claim 33, wherein the resource requirement is a number of available qubits corresponding to the quantum circuit.

### Claim 35 (depends on 33)

The processor-implemented method of claim 33, wherein the resource requirement is a circuit depth corresponding to the quantum circuit.

### Claim 36

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;
for each interval of a set of sub-intervals corresponding to the input, determining whether to perform the evaluation of the polynomial in a first mode or a second mode, wherein the set of sub-intervals are chosen by pre-processing the input;
in the first mode, performing the evaluation of the polynomial by:
determining a polynomial interpolation of at most degree d for a first subset of the set of sub-intervals corresponding to the input, and
using the processor, generating an output including the quantum circuit for performing polynomial evaluation corresponding to each of the first subset of the set of sub-intervals by determining whether an input value of the polynomial function falls into any of the set of sub-intervals and computing a label register having at least one label indicative of at least one of the set of sub-intervals; and
in the second mode, performing the evaluation of the polynomial using Newton's method for a second subset of the set of sub-intervals corresponding to the input, wherein the second subset is different from the first subset.

### Claim 37 (depends on 36)

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

### Claim 38 (depends on 36)

The processor-implemented method of claim 36, 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.

### Claim 39 (depends on 36)

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

### Claim 40 (depends on 36)

The processor-implemented method of claim 36, wherein iterations corresponding to the Newton's method are implemented using a result of a pebbling strategy to meet a resource requirement corresponding to the quantum circuit.
