Debugging quantum circuits by circuit rewriting

US10614371B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10614371-B2
Application numberUS-201715720814-A
CountryUS
Kind codeB2
Filing dateSep 29, 2017
Priority dateSep 29, 2017
Publication dateApr 7, 2020
Grant dateApr 7, 2020

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.

Techniques for automating quantum circuit debugging are provided that simulate standard debugging behaviors. The technology includes rewriting a source quantum circuit into instrumented circuits based on instrumentation instruction information inserted into software code that corresponds to the source quantum circuit. The instrumented circuits can executed to obtain measurement data corresponding to different state data of qubits within the source quantum circuit. The measurement data can be processed to output generated information corresponding to one or more internal states or processes of a quantum computer associated with the source quantum circuit.

First claim

Opening claim text (preview).

What is claimed is: 1. A system, comprising: a memory that stores computer executable components; a processor that executes computer executable components stored in the memory, wherein the computer executable components comprise: a circuit rewriting component that rewrites a source quantum circuit of a quantum computer into instrumented circuits based on instrumentation instruction information associated with software code of a source quantum circuit representation that represents to the source quantum circuit, wherein the rewrite comprises removal of dead code of the software code corresponding to one or more qubits whose state is causally connected to the instrumentation instruction information, by propagating one or more influences of the instrumentation instruction information forwards or backwards through the source quantum circuit; and an execution component that executes the instrumented circuits to produce measurement data. 2. The system of claim 1 , wherein the circuit rewriting component applies circuit rewriting rules based on the instrumentation instruction information. 3. The system of claim 1 , wherein the circuit rewriting component employs one or more analysis parameters received via an application programming interface. 4. The system of claim 1 , wherein the instrumentation instruction information comprises a breakpoint inserted between two quantum circuit instructions in the software code. 5. The system of claim 1 , wherein the instrumentation instruction information comprises a beginning breakpoint inserted before a quantum code segment in the software code and an ending breakpoint inserted after the quantum code segment. 6. The system of claim 1 further comprising a statistical estimation component that evaluates the measurement data to infer information corresponding to one or more internal states or processes of the quantum computer. 7. The system of claim 6 , wherein the statistical estimation component employs state tomography and reconstruction to evaluate the measurement data. 8. The system of claim 6 , wherein the statistical estimation component employs process tomography and reconstruction to evaluate the measurement data. 9. A computer-implemented method, comprising: automatically rewriting, by a system operatively coupled to a processor, a source quantum circuit into instrumented circuits based on instrumentation instruction information that instruments software code of a source circuit representation that represents the source quantum circuit, wherein the source quantum circuit is associated with a quantum computer, wherein the automatically rewriting the source quantum circuit into the instrumented circuits comprises removing one or more gates by propagating one or more influences of the instrumentation instruction information forwards or backwards through the source quantum circuit relative to a breakpoint; executing, by the system, the instrumented circuits to obtain measurement data corresponding to different locations in the source quantum circuit; and outputting, by the system, the measurement data. 10. The computer-implemented method of claim 9 , further comprising statistically evaluating the measurement data via state tomography. 11. The computer-implemented method of claim 9 , further comprising statistically evaluating the measurement data via process tomography. 12. The computer-implemented method of claim 9 , wherein the breakpoint is inserted in the software code and comprises a partition of one or more qubits. 13. The computer-implemented method of claim 9 , further comprising receiving information identifying a beginning breakpoint and an ending breakpoint, in which the beginning breakpoint is inserted before a quantum code segment in the software code and the ending breakpoint is inserted after the quantum code segment. 14. The computer-implemented method of claim 9 , wherein the automatically rewriting the source quantum circuit into the instrumented circuits comprises removing dead code from the software code to generate at least one of the instrumented circuits. 15. A computer program product facilitating debugging quantum computer software, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to: automatically rewrite a source quantum circuit into instrumented circuits based on instrumentation instruction information inserted into software code of a source quantum circuit representation that represents the source quantum circuit, wherein the rewrite comprises removal of dead code of the software code corresponding to one or more qubits whose state is causally connected to the instrumentation instruction information, by propagating one or more influences of the instrumentation instruction information forwards or backwards through the source quantum circuit; execute the instrumented circuits to obtain measurement data corresponding to different state data of qubits within the source quantum circuit; and process the measurement data to output generated information corresponding to one or more internal states or processes of a quantum computer associated with the source quantum circuit. 16. The computer program product of claim 15 , wherein the program instructions are further executable by the processor to cause the processor to: input the instrumentation instruction information via an application programming interface. 17. The computer program product of claim 15 , wherein the program instructions are further executable by the processor to cause the processor to: input one or more analysis parameters via an application programming interface. 18. The computer program product of claim 15 , wherein the program instructions are further executable by the processor to cause the processor to: output the measurement data or the generated information as graphical data via an application programming interface. 19. A computer-implemented method, comprising: rewriting, by a system operatively coupled to a processor, a source quantum circuit into instrumented circuits based on instrumentation instruction information inserted into software code of a source quantum circuit representation that represents the source quantum circuit, wherein the rewriting the source quantum circuit into the instrumented circuits comprises removing dead code of the software code corresponding to one or more qubits whose state is causally connected to the instrumentation instruction information, by propagating one or more influences of the instrumentation instruction information forwards or backwards through the source quantum circuit; executing, by the system, the instrumented circuits to obtain measurement data corresponding to different state data of qubits within the source quantum circuit; and processing, by the system, the measurement data to output generated information corresponding to one or more internal states or processes of a quantum computer associated with the source quantum circuit. 20. The computer-implemented method of claim 19 , wherein the processing the measurement data comprises performing process tomography and reconstruction. 21. The computer-implemented method of claim 19 , wherein the processing the measurement data comprises performing state tomography and reconstruction. 22. A system, comprising: a memory that stores computer executable components; a processor th

Assignees

Inventors

Classifications

  • by checking the object accessibility, e.g. type of access defined by the memory independently of subject rights (G06F12/1458 takes precedence) · CPC title

  • G06N10/00Primary

    Quantum computing, i.e. information processing based on quantum-mechanical phenomena · CPC title

  • Quantum error correction, detection or prevention, e.g. surface codes or magic state distillation · CPC title

  • 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

  • G06N10/20Primary

    Models of quantum computing, e.g. quantum circuits or universal quantum computers · 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 US10614371B2 cover?
Techniques for automating quantum circuit debugging are provided that simulate standard debugging behaviors. The technology includes rewriting a source quantum circuit into instrumented circuits based on instrumentation instruction information inserted into software code that corresponds to the source quantum circuit. The instrumented circuits can executed to obtain measurement data correspondi…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06N10/00. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 07 2020 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).