US 12,450,516 B2
Qubit mapped diamond dependency recommendation service
Leigh Griffin, Waterford (IE); and Stephen Coady, Waterford (IE)
Assigned to Red Hat, Inc., Raleigh, NC (US)
Filed by Red Hat, Inc., Raleigh, NC (US)
Filed on Jul. 26, 2022, as Appl. No. 17/874,167.
Prior Publication US 2024/0037440 A1, Feb. 1, 2024
Int. Cl. G06F 8/70 (2018.01); G06N 10/40 (2022.01); G06N 10/60 (2022.01); G06N 10/80 (2022.01)
CPC G06N 10/60 (2022.01) [G06N 10/40 (2022.01); G06N 10/80 (2022.01)] 17 Claims
OG exemplary drawing
 
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.