IP Library Granted Patent US 12,450,516
Granted Patent B2
US 12,450,516 · App. 17/874,167 · Granted Oct 21, 2025

Qubit mapped diamond dependency recommendation service

Inventors: Leigh Griffin (Waterford, IE); Stephen Coady (Waterford, IE)
Assignee: Red Hat, Inc.
G06N10/60G06N10/40G06N10/80
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,450,516
App. No.
17/874,167
Granted
Oct 21, 2025
Kind
B2
Abstract

Embodiments of the present disclosure provide techniques for performing a quantum computing-based diamond dependency analysis. A classical diamond dependency service may analyze a service and determine a set of dependencies that the service requires to execute. The classical DDS may then generate a quantum assembly language (QASM) file comprising a diamond dependency algorithm (DDA) and a mapping of a configuration file of the service and a configuration file of each of the set of dependencies to a respective qubit among a plurality of qubits. The classical DDS may interface with one or more quantum DDSs (QDDSs) that are each part of a respective quantum environment in order to determine qubits that are available to be mapped to the configuration files of the service and its dependencies. The classical DDS may execute the QASM file using the one or more QDDSs to detect one or more diamond dependencies.

Claims (32)

1. A method comprising:

determining a set of dependencies that a service requires to execute;

generating, by a processing device, a quantum assembly language (QASM) file comprising a mapping of a configuration file of the service and a configuration file of each of the set of dependencies to a respective qubit among a plurality of qubits, wherein the QASM file further comprises a diamond dependency algorithm (DDA);

executing the QASM file using one or more quantum diamond dependency services (QDDSs) to detect one or more diamond dependencies based on the DDA and the mapping of the configuration file of the service and the configuration file of each of the set of dependencies to a respective qubit among a plurality of qubits, wherein each of the one or more QDDSs corresponds to a quantum environment having a subset of the plurality of qubits; and

connecting to the one or more quantum diamond dependency services (QDDSs) to identify a respective available qubit for the service and a respective available qubit for each of the set of dependencies; and as the respective available qubit for the service and the respective available qubit for each of the set of dependencies is identified, locking the respective available qubit down.

2. The method of claim 1 , wherein connecting to the one or more QDDSs comprises: iteratively, until a respective available qubit for the service and a respective available qubit for each of the set of dependencies are identified: connecting to a QDDS to interface with a qubit registry of a quantum environment corresponding to the QDDS; determining, via the qubit registry, a set of available qubits in the quantum environment; and determining whether a respective available qubit for the service and a respective available qubit for each of the set of dependencies have been identified based on the set of available qubits in the quantum environment.

3. The method of claim 1 , further comprising: in response to connecting to more than one QDDS to identify a respective available qubit for the service and a respective available qubit for each of the set of dependencies, adding entanglement commands to the QASM file to account for each quantum environment from which respective available qubits are identified while detecting the one or more diamond dependencies.

4. The method of claim 1 , further comprising: annotating the QASM file with an indication of a relationship each respective qubit has with other respective qubits based on a configuration file each respective qubit is mapped to.

5. The method of claim 1 , further comprising: returning a list of each respective qubit that is in conflict based on the detected one or more diamond dependencies.

6. The method of claim 1 , wherein the generating of the QASM file is performed by a classical diamond dependency service.

7. A system comprising:

a memory; and

a processing device operatively coupled to the memory, the processing device to:

determine a set of dependencies that a service requires to execute;

generate a quantum assembly language (QASM) file comprising a mapping of a configuration file of the service and a configuration file of each of the set of dependencies to a respective qubit among a plurality of qubits, wherein the QASM file further comprises a diamond dependency algorithm (DDA);

execute the QASM file using one or more quantum diamond dependency services (QDDSs) to detect one or more diamond dependencies based on the DDA and the mapping of the configuration file of the service and the configuration file of each of the set of dependencies to a respective qubit among a plurality of qubits, wherein each of the one or more QDDSs corresponds to a quantum environment having a subset of the plurality of qubits; and

connect to the one or more quantum diamond dependency services (ODDSs) to identify a respective available qubit for the service and a respective available qubit for each of the set of dependencies, wherein as the respective available qubit for the service and the respective available qubit for each of the set of dependencies is identified, the respective available qubit is locked down by a QDDS corresponding to a quantum environment on which the respective available qubit is located.

8. The system of claim 7 , wherein to connect to the one or more QDDSs, the processing device is to: iteratively, until a respective available qubit for the service and a respective available qubit for each of the set of dependencies are identified: connect to a QDDS to interface with a qubit registry of a quantum environment corresponding to the QDDS; determine, via the qubit registry, a set of available qubits in the quantum environment; and determine whether a respective available qubit for the service and a respective available qubit for each of the set of dependencies have been identified based on the set of available qubits in the quantum environment.

9. The system of claim 7 , wherein the processing device is further to: in response to connecting to more than one QDDS to identify a respective available qubit for the service and a respective available qubit for each of the set of dependencies, add entanglement commands to the QASM file to account for each quantum environment from which respective available qubits are identified while detecting the one or more diamond dependencies.

10. The system of claim 7 , wherein the processing device is further to:

annotate the QASM file with an indication of a relationship each respective qubit has with other respective qubits based on a configuration file each respective qubit is map ped to.

11. The system of claim 7 , wherein the processing device is further to: return a list of each respective qubit that is in conflict based on the detected one or more diamond dependencies.

12. The system of claim 7 , wherein the processing device executes a classical diamond dependency service to generate the QASM file.

13. A non-transitory computer-readable medium having instructions stored thereon which, when executed by a processing device, cause the processing device to:

determine a set of dependencies that a service requires to execute;

generate a quantum assembly language (QASM) file comprising a mapping of a configuration file of the service and a configuration file of each of the set of dependencies to a respective qubit among a plurality of qubits, wherein the QASM file further comprises a diamond dependency algorithm (DDA);

execute the QASM file using one or more quantum diamond dependency services (QDDSs) to detect one or more diamond dependencies based on the DDA and the mapping of the configuration file of the service and the configuration file of each of the set of dependencies to a respective qubit among a plurality of qubits, wherein each of the one or more QDDSs corresponds to a quantum environment having a subset of the plurality of qubits; and

connect to the one or more quantum diamond dependency services (QDDSs) to identify a respective available qubit for the service and a respective available qubit for each of the set of dependencies, wherein as the respective available qubit for the service and the respective available qubit for each of the set of dependencies is identified, the respective available qubit is locked down by a QDDS corresponding to a quantum environment on which the respective available qubit is located.

14. The non-transitory computer-readable medium of claim 13 , wherein to connect to the one or more QDDSs, the processing device is to: iteratively, until a respective available qubit for the service and a respective available qubit for each of the set of dependencies are identified: connect to a QDDS to interface with a qubit registry of a quantum environment corresponding to the QDDS; determine, via the qubit registry, a set of available qubits in the quantum environment; and determine whether a respective available qubit for the service and a respective available qubit for each of the set of dependencies have been identified based on the set of available qubits in the quantum environment.

15. The non-transitory computer-readable medium of claim 13 , wherein the processing device is further to: in response to connecting to more than one QDDS to identify a respective available qubit for the service and a respective available qubit for each of the set of dependencies, add entanglement commands to the QASM file to account for each quantum environment from which respective available qubits are identified while detecting the one or more diamond dependencies.

16. The non-transitory computer-readable medium of claim 13 , wherein the processing device is further to: annotate the QASM file with an indication of a relationship each respective qubit has with other respective qubits based on a configuration file each respective qubit is mapped to.

17. The non-transitory computer-readable medium of claim 13 , wherein the processing device executes a classical diamond dependency service to generate the QASM file.

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 Sep 1, 2022
From: GRIFFIN, LEIGH; COADY, STEPHEN
To: RED HAT, INC.
Reel/Frame 060971/0422 →