Evaluating quantum computing circuits in view of the resource costs of a quantum algorithm
AssigneeMicrosoft Technology Licensing, LLC
InventorsThomas HAENER, Martin H. ROETTELER, Krysta M. Svore
Life of this patent
Estimating the term…
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.
Claims21
-20. (canceled)
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.
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.
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.
Dependencies are inferred from the claim text.