Debugging quantum circuits by circuit rewriting
AssigneeInternational Business Machines Corporation
InventorsLev Samuel Bishop, Andrew Cross, Jay Gambetta
Life of this patent
Estimating the term…
Abstract
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.
Claims25
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 circuit of a quantum computer into instrumented circuits based on instrumentation instruction information associated with software code corresponding to the source circuit;
- and
- an execution component that executes the instrumented circuits to produce measurement data.
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 the source quantum circuit, wherein the source quantum circuit is associated with a quantum computer;
- executing, by a device, the instrumented circuits to obtain measurement data corresponding to different locations in the source circuit;
- and
- outputting, by the device, the measurement data.
A computer program product facilitating debugging quantum computer software, the computer program product comprising a 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 that corresponds to 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.
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 that corresponds to 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.
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 into instrumented circuits based on instrumentation instruction information inserted into software code that corresponds to the source quantum circuit;
- an execution component that executes the instrumented circuits to obtain measurement data corresponding to different state data of qubits within the source quantum circuit;
- and
- a statistical estimation component that processes 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.
Dependencies are inferred from the claim text.