IP Library Granted Patent US 12,204,986
Granted Patent B2
US 12,204,986 · App. 17/243,997 · Granted Jan 21, 2025

Generating quantum service definitions from executing quantum services

Inventors: Stephen Coady (Waterford, IE); Leigh Griffin (Waterford, IE)
Assignee: Red Hat, Inc.
G06N10/00H04L41/145H04L41/5054
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,204,986
App. No.
17/243,997
Granted
Jan 21, 2025
Kind
B2
Abstract

Generating quantum service definitions from executing quantum services is disclosed. In one example, a processor device of a quantum computing system executes a quantum service comprise one or more qubits. The processor device (e.g., by executing a quantum analysis service (QAS)) receives a request to profile the quantum service. Based on the request, the processor device obtains service metadata corresponding to the quantum service. A quantum service definition that defines one or more features of the quantum service is then generated based on the service metadata, and the quantum service definition is stored on a persistent data store. In this manner, quantum service definitions may be partially or wholly reverse-engineered for quantum services for which original quantum services definitions are unavailable or inaccessible.

Claims (61)

1. A method, comprising:

executing, by a quantum computing device, a quantum service comprising one or more qubits;

receiving, by the quantum computing device, a request to profile the quantum service;

obtaining, by the quantum computing device, service metadata corresponding to the quantum service based on the request, wherein the service metadata comprises, at least in part, an input received by the quantum computing device and an output generated by the quantum computing device while executing the quantum service;

generating a quantum service definition that defines one or more features of the quantum service based on the service metadata; and

storing the quantum service definition on a persistent data store.

2. The method of claim 1 , wherein the service metadata comprises one or more of a count of the one or more qubits, one or more qubit identifiers corresponding to the one or more qubits, and one or more locations corresponding to the one or more qubits.

3. The method of claim 1 , wherein:

obtaining the service metadata comprises conducting performance profiling of the quantum service; and

the service metadata further comprises hardware resource usage data of the quantum service.

4. The method of claim 1 , wherein the quantum service definition comprises a Quantum Assembly Language (QASM) file.

5. The method of claim 1 , wherein:

generating the quantum service definition comprises:

transmitting, by the quantum computing device, the service metadata to a classical computing device communicatively coupled to the quantum computing device; and

generating, by the classical computing device, the quantum service definition based on the service metadata; and

storing the quantum service definition on a persistent data store comprises storing, by the classical computing device, the quantum service definition.

6. The method of claim 5 , further comprising simulating, using a quantum simulator of the classical computing device, the quantum service based on the quantum service definition.

7. The method of claim 1 , wherein:

generating the quantum service definition comprises generating, by the quantum computing device, the quantum service definition based on the service metadata; and

storing the quantum service definition on a persistent data store comprises storing, by the quantum computing device, the quantum service definition.

8. The method of claim 7 , further comprising:

transmitting, by the quantum computing device, the quantum service definition to a classical computing device communicatively coupled to the quantum computing device; and

simulating the quantum service using a quantum simulator of the classical computing device, based on the quantum service definition.

9. A quantum computing device, comprising:

a system memory; and

a processor device communicatively coupled to the system memory, the processor device to:

execute a quantum service comprising one or more qubits;

receive a request to profile the quantum service;

obtain service metadata corresponding to the quantum service based on the request, wherein the service metadata comprises, at least in part, an input received by the quantum computing device and an output generated by the quantum computing device while executing the quantum service;

generate a quantum service definition that defines one or more features of the quantum service based on the service metadata; and

store the quantum service definition on a persistent data store.

10. The quantum computing device of claim 9 , wherein the service metadata comprises one or more of a count of the one or more qubits, one or more qubit identifiers corresponding to the one or more qubits, and one or more locations corresponding to the one or more qubits.

11. The quantum computing device of claim 9 , wherein:

to obtain the service metadata is to conduct performance profiling of the quantum service; and

the service metadata further comprises hardware resource usage data of the quantum service.

12. The quantum computing device of claim 9 , wherein the quantum service definition comprises a Quantum Assembly Language (QASM) file.

13. The quantum computing device of claim 9 , wherein the processor device is further to transmit the quantum service definition to a classical computing device communicatively coupled to the quantum computing device.

14. The quantum computing device of claim 9 , wherein the processor device is further to simulate the quantum service using a quantum simulator, based on the quantum service definition.

15. A computing system, comprising:

a quantum computing device, comprising:

a first system memory; and

a first processor device communicatively coupled to the first system memory;

a classical computing device, comprising:

a second system memory; and

a second processor device communicatively coupled to the second system memory;

the first processor device to:

execute a quantum service comprising one or more qubits;

receive a request to profile the quantum service;

obtain service metadata corresponding to the quantum service based on the request, wherein the service metadata comprises, at least in part, an input received by the quantum computing device and an output generated by the quantum computing device while executing the quantum service; and

transmit the service metadata to the classical computing device; and

the second processor device to:

receive the service metadata;

generate a quantum service definition that defines one or more features of the quantum service based on the service metadata; and

store the quantum service definition on a persistent data store.

16. The computing system of claim 15 , wherein the service metadata comprises one or more of a count of the one or more qubits, one or more qubit identifiers corresponding to the one or more qubits, and one or more locations corresponding to the one or more qubits.

17. The computing system of claim 15 , wherein:

to obtain the service metadata is to conduct performance profiling of the quantum service; and

the service metadata further comprises hardware resource usage data of the quantum service.

18. The computing system of claim 15 , wherein the quantum service definition comprises a Quantum Assembly Language (QASM) file.

19. The computing system of claim 15 , wherein the second processor device is further to simulate, using a quantum simulator of the classical computing device, the quantum service based on the quantum service definition.

20. The computing system of claim 19 , wherein the quantum simulator comprises a Qiskit quantum computing framework.

Assignments (2)
CHANGE OF NAME Recorded Mar 3, 2026
From: RED HAT, INC.
To: RED HAT, LLC
Reel/Frame 074913/0759 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 29, 2021
From: COADY, STEPHEN; GRIFFIN, LEIGH
To: RED HAT, INC.
Reel/Frame 056083/0340 →