Monte Carlo Markov chain based quantum program optimization

US11651232B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11651232-B2
Application numberUS-201816052348-A
CountryUS
Kind codeB2
Filing dateAug 1, 2018
Priority dateAug 1, 2018
Publication dateMay 16, 2023
Grant dateMay 16, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

From a quantum program a first mutant is generated using a processor and a memory, where the first mutant is a randomly-generated transformation of the quantum program. A quality score, a correctness distance, and a probability of acceptance corresponding to the first mutant are computed. An acceptance corresponding to the first mutant is determined according to the probability of acceptance. Upon determining that an acceptance of the first mutant corresponding to the probability of acceptance exceeds an acceptance threshold, the quantum program is replaced with the first mutant. Upon determining that the quality score exceeds a storage threshold and that the correctness distance is zero, the first mutant is stored. These actions are iterated until reaching an iteration limit.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: iterating, until reaching an iteration limit, actions comprising: generating, from a quantum program using a processor and a memory, a first mutant, the first mutant comprising a transformation of the quantum program, wherein the quantum program comprises a set of operations, each operation in the set of operations specifying at least one gate operating on at least one qubit, wherein the transformation comprises inserting, into the set of operations, a synthesized operation comprising an instance of a gate type and at least one qubit on which the instance operates, wherein an insertion point, the gate type, and the at least one qubit of the synthesized operation are randomly selected; computing a quality score, a correctness distance, and a probability of acceptance corresponding to the first mutant; replacing, upon determining that the probability of acceptance exceeds an acceptance threshold, the quantum program with the first mutant; storing, upon determining that the quality score exceeds a storage threshold and that the correctness distance is zero, the first mutant in a collection of acceptable mutants; and terminating, responsive to a number of mutants in the collection of acceptable mutants reaching a threshold number greater than one, the iterating. 2. The method of claim 1 , further comprising: computing the quality score using an inverse proportionality function on an overall cost. 3. The method of claim 2 , wherein: cost_diff comprises the overall cost corresponding to the mutant minus an overall cost corresponding to the original program; the probability of acceptance is one when cost_diff is a negative number; and the probability of acceptance is e{circumflex over ( )}(-beta*cost_diff) when cost_diff is a positive number, wherein beta comprises a tunable parameter. 4. The method of claim 2 , wherein the overall cost further comprises a correctness cost and a performance cost. 5. The method of claim 1 , further comprising: computing the probability of acceptance using a direct proportionality function on the quality score. 6. The method of claim 1 , wherein: quality_diff comprises the quality score corresponding to the mutant minus a quality score corresponding to the original program; the probability of acceptance is one when quality_diff is a positive number; and the probability of acceptance is e{circumflex over ( )}(betequality_diff) when quality_diff is a negative number, wherein beta comprises a tunable parameter. 7. The method of claim 1 , further comprising: terminating the iterating upon determining that the quality score exceeds a storage threshold and that the correctness distance is zero. 8. A computer usable program product comprising a computer-readable storage medium, and program instructions stored on the computer-readable storage medium, the stored program instructions comprising: program instructions to iterate, until reaching an iteration limit, actions comprising: program instructions to generate, from a quantum program using a processor and a memory, a first mutant, the first mutant comprising a transformation of the quantum program, wherein the quantum program comprises a set of operations, each operation in the set of operations specifying at least one gate operating on at least one qubit, wherein the transformation comprises inserting, into the set of operations, a synthesized operation comprising an instance of a gate type and at least one qubit on which the instance operates, wherein an insertion point, the gate type, and the at least one qubit of the synthesized operation are randomly selected; program instructions to compute a quality score, a correctness distance, and a probability of acceptance corresponding to the first mutant; program instructions to replace, upon determining that the probability of acceptance exceeds an acceptance threshold, the quantum program with the first mutant; program instructions to store, upon determining that the quality score exceeds a storage threshold and that the correctness distance is zero, the first mutant in a collection of acceptable mutants; and program instructions to terminate, responsive to a number of mutants in the collection of acceptable mutants reaching a threshold number greater than one, the iterating. 9. The computer usable program product of claim 8 , further comprising: program instructions to compute the quality score using an inverse proportionality function on an overall cost. 10. The computer usable program product of claim 9 , wherein: cost_diff comprises the overall cost corresponding to the mutant minus an overall cost corresponding to the original program; the probability of acceptance is one when cost_diff is a negative number; and the probability of acceptance is e{circumflex over ( )}(-beta*cost_diff) when cost_diff is a positive number, wherein beta comprises a tunable parameter. 11. The computer usable program product of claim 9 , wherein the overall cost further comprises a correctness cost and a performance cost. 12. The computer usable program product of claim 8 , further comprising: program instructions to compute the probability of acceptance using a direct proportionality function on the quality score. 13. The computer usable program product of claim 8 , wherein: quality_diff comprises the quality score corresponding to the mutant minus a quality score corresponding to the original program; the probability of acceptance is one when quality_diff is a positive number; and the probability of acceptance is e{circumflex over ( )}(beta*quality_diff) when quality_diff is a negative number, wherein beta comprises a tunable parameter. 14. The computer usable program product of claim 8 , further comprising program instructions to terminate the iterating upon determining that the quality score exceeds a storage threshold and that the correctness distance is zero. 15. The computer usable program product of claim 8 , wherein the stored program instructions are stored in a computer readable storage medium in a data processing system, and wherein the stored program instructions are transferred over a network from a remote data processing system. 16. The computer usable program product of claim 8 , wherein the stored program instructions are stored in a computer readable storage medium in a server data processing system, and wherein the stored program instructions are downloaded over a network to a remote data processing system for use in a computer readable storage medium associated with the remote data processing system. 17. A computer system comprising one or more processors, one or more computer-readable memories, and a computer-readable storage medium, and program instructions stored on the computer-readable storage medium for execution by at least one of the one or more processors via at least one of the one or more memories, the stored program instructions comprising: program instructions to iterate, until reaching an iteration limit, actions comprising: program instructions to generate, from a quantum program using a processor and a memory, a first mutant, the first mutant comprising a transformation of the quantum program, wherein the quantum program comprises a set of operations, each operation in the set of operations specifying at least one gate operating on at least one qubit, wherein the transformation comprises inserting, into the set of operations, a synthesized operation comprising an instance of a gate type and at least one qubit on which the instance operates, wherein an inser

Assignees

Inventors

Classifications

  • Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms · CPC title

  • G06N10/80Primary

    Quantum programming, e.g. interfaces, languages or software-development kits for creating or handling programs capable of running on quantum computers; Platforms for simulating or accessing quantum computers, e.g. cloud-based quantum computing · CPC title

  • G06N3/126Primary

    Evolutionary algorithms, e.g. genetic algorithms or genetic programming · CPC title

  • Optimisation · CPC title

  • for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)} · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11651232B2 cover?
From a quantum program a first mutant is generated using a processor and a memory, where the first mutant is a randomly-generated transformation of the quantum program. A quality score, a correctness distance, and a probability of acceptance corresponding to the first mutant are computed. An acceptance corresponding to the first mutant is determined according to the probability of acceptance. U…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06N10/80. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 16 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).