Debugging executing quantum services using service definition layers

US12561598B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12561598-B2
Application numberUS-202217680601-A
CountryUS
Kind codeB2
Filing dateFeb 25, 2022
Priority dateFeb 25, 2022
Publication dateFeb 24, 2026
Grant dateFeb 24, 2026

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.

Debugging executing quantum services using service definition layers is disclosed herein. In one example, a processor device of a quantum computing device receives a request to debug an executing quantum service defined by a quantum service definition file. In response, the processor device suspends execution of the quantum service, and determines a next instruction to be executed within the quantum service definition file. The processor device next identifies a service definition layer associated with the quantum service definition file and corresponding to the next instruction, wherein the service definition layer comprises the next instruction and any instructions preceding the next instruction. The processor device then executes the service definition layer.

First claim

Opening claim text (preview).

What is claimed is: 1 . A method, comprising: receiving, by a quantum computing device from a requestor, a request to debug an executing quantum service defined by a quantum service definition file; suspending, by the quantum computing device, execution of the quantum service; determining, by the quantum computing device, a next instruction to be executed within the quantum service definition file; identifying, by the quantum computing device, a service definition layer associated with the quantum service definition file and corresponding to the next instruction, wherein the service definition layer comprises the next instruction and any instructions preceding the next instruction; and executing, by the quantum computing device, the service definition layer. 2 . The method of claim 1 , further comprising providing, by the quantum computing device, a result of executing the service definition layer to the requestor. 3 . The method of claim 2 , wherein: providing the result comprises querying, by the quantum computing device, a qubit registry of the quantum computing device to obtain the result; and the result comprises one or more of a quantum state of a qubit during execution of the service definition layer or a data value stored by a qubit during execution of the service definition layer. 4 . The method of claim 1 , wherein receiving the request to debug the executing quantum service is responsive to detection of a breakpoint within the quantum service definition file. 5 . The method of claim 1 , wherein receiving the request to debug the executing quantum service comprises receiving a user input requesting an interruption of execution of the quantum service. 6 . The method of claim 1 , wherein: determining the next instruction to be executed comprises receiving a user input indicating the next instruction; and the next instruction comprises an instruction immediately subsequent to a most recently executed instruction, an instruction immediately preceding the most recently executed instruction, or a user-selected instruction within the quantum service definition file. 7 . The method of claim 1 , further comprising, prior to receiving the request: generating a plurality of service definition layers associated with the quantum service definition file, wherein: each service definition layer of the plurality of service definition layers comprises a respective one or more instructions of the quantum service definition file and any instructions preceding the one or more instructions; and the plurality of service definition layers comprises the service definition layer; and storing the plurality of service definition layers in association with the quantum service definition file. 8 . A quantum computing device, comprising: a system memory; and a processor device communicatively coupled to the system memory, the processor device to: receive, from a requestor, a request to debug an executing quantum service defined by a quantum service definition file; suspend execution of the quantum service; determine a next instruction to be executed within the quantum service definition file; identify a service definition layer associated with the quantum service definition file and corresponding to the next instruction, wherein the service definition layer comprises the next instruction and any instructions preceding the next instruction; and execute the service definition layer. 9 . The quantum computing device of claim 8 , wherein the processor device is further to provide a result of executing the service definition layer to the requestor. 10 . The quantum computing device of claim 9 , wherein: to provide the result is to query a qubit registry of the quantum computing device to obtain the result; and the result comprises one or more of a quantum state of a qubit during execution of the service definition layer or a data value stored by a qubit during execution of the service definition layer. 11 . The quantum computing device of claim 8 , wherein to receive the request to debug the executing quantum service is to receive the request responsive to detection of a breakpoint within the quantum service definition file. 12 . The quantum computing device of claim 8 , wherein to receive the request to debug the executing quantum service is to receive a user input requesting an interruption of execution of the quantum service. 13 . The quantum computing device of claim 8 , wherein: to determine the next instruction to be executed is to receive a user input indicating the next instruction; and the next instruction comprises an instruction immediately subsequent to a most recently executed instruction, an instruction immediately preceding the most recently executed instruction, or a user-selected instruction within the quantum service definition file. 14 . The quantum computing device of claim 8 , wherein the processor device is further to, prior to receiving the request: generate a plurality of service definition layers associated with the quantum service definition file, wherein: each service definition layer of the plurality of service definition layers comprises a respective one or more instructions of the quantum service definition file and any instructions preceding the one or more instructions; and the plurality of service definition layers comprises the service definition layer; and store the plurality of service definition layers in association with the quantum service definition file. 15 . A non-transitory computer-readable medium having stored thereon computer-executable instructions that, when executed, cause one or more processor devices of a quantum computing device to: receive, from a requestor, a request to debug an executing quantum service defined by a quantum service definition file; suspend execution of the quantum service; determine a next instruction to be executed within the quantum service definition file; identify a service definition layer associated with the quantum service definition file and corresponding to the next instruction, wherein the service definition layer comprises the next instruction and any instructions preceding the next instruction; and execute the service definition layer. 16 . The non-transitory computer-readable medium of claim 15 , wherein the computer-executable instructions further cause the one or more processor devices to provide a result of executing the service definition layer to the requestor. 17 . The non-transitory computer-readable medium of claim 16 , wherein: to provide the result is to query a qubit registry of the quantum computing device to obtain the result; and the result comprises one or more of a quantum state of a qubit during execution of the service definition layer or a data value stored by a qubit during execution of the service definition layer. 18 . The non-transitory computer-readable medium of claim 15 , wherein to receive the request to debug the executing quantum service is to receive the request responsive to detection of a breakpoint within the quantum service definition file. 19 . The non-transitory computer-readable medium of claim 15 , wherein to receive the request to debug the executing quantum service is to receive a user input requesting an interruption of execution of the quantum service. 20 . The non-transitory computer-readable medium of claim 15 , wherein: to determine the next instruction to be executed is to receive a user input indicating the next instruc

Assignees

Inventors

Classifications

  • Environments for analysis, debugging or testing of software · CPC title

  • Models of quantum computing, e.g. quantum circuits or universal quantum computers · 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

  • by tracing the execution of the program · 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 US12561598B2 cover?
Debugging executing quantum services using service definition layers is disclosed herein. In one example, a processor device of a quantum computing device receives a request to debug an executing quantum service defined by a quantum service definition file. In response, the processor device suspends execution of the quantum service, and determines a next instruction to be executed within the qu…
Who is the assignee on this patent?
Red Hat Inc, Red Hat Llc
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 Feb 24 2026 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 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).