US 11,948,046 B2
MVC inspired quantum-classical 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 May 25, 2022, as Appl. No. 17/824,813.
Prior Publication US 2023/0385671 A1, Nov. 30, 2023
Int. Cl. G06N 10/20 (2022.01); G06F 9/54 (2006.01); G06N 10/70 (2022.01)
CPC G06N 10/20 (2022.01) [G06F 9/543 (2013.01); G06N 10/70 (2022.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
receiving a request for execution by an application, wherein the application is implemented in an execution environment comprising a classical controller and a quantum controller, wherein the classical controller interfaces with a model and a view as part of a model
view and controller (MVC) framework;
determining, by a Quantum Model View Controller (QMVC) service, whether the request is to be processed by the classical controller or the quantum controller; and
in response to determining that the request is to be processed by the quantum controller:
diverting, by the QMVC service, the request to the quantum controller; and
processing, by the processing device, the request using the quantum controller, wherein the QMVC service provides a first application program interface (API) gateway between the quantum controller and the model and a second API gateway between the quantum controller and the view.