# US 2022/0292377 A1 · Computer system and method for utilizing variational inference

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292377 A1
- Document ID: US20220292377A1
- Status: Published application
- Kind: A1
- Application number: 17/654,225
- Filed: 2022-03-09
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: Cambridge Quantum Computing Limited
- Applicants: Cambridge Quantum Computing Limited
- Inventors: Marcello Benedetti; Brian Joseph Coyle; Mattia Fiorentini; Michael Lubasch; Matthias Rosenkranz
- Web page: https://patentgrep.com/patent/US20220292377A1

## CPC

- G06N 5/04: Inference or reasoning models
- G06N 10/60: Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 10/20: Models of quantum computing, e.g. quantum circuits or universal quantum computers
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A computing system that includes a quantum computer, wherein the computing system is configured to use variational inference methods based on input data derived from an apparatus to be controlled, and to output data for controlling the operation of the apparatus. Methods for using the computing system for controlling operation of the apparatus. The computing system uses variational inference methods configured to drawing conclusion about unobserved variable given observations of related variables, to control the apparatus. The computing system may use Bayesian networks, quantum Born machines, adversarial objectives, or kernelized Stein discrepancy, to perform variational inference.

## Claims

### Claim at position 1

-14. (canceled)

### Claim 15

A control system for controlling or monitoring a real physical system, wherein the control system comprises a hybrid combination of a classical computer and a quantum computer, wherein the control system is configured to receive input data at the classical computer from the real physical system, wherein the classical computer and the quantum computer are configured to exchange data therebetween, and to use a variational inference arrangement executed on the hybrid combination to process the input data to generate corresponding output data from the classical computer for use in controlling or monitoring operation of the real physical system, wherein the variational inference arrangement is implemented at least in part by using at least one Bayesian network model arrangement implemented using a Born machine implemented using the quantum computer.

### Claim 16 (depends on 15)

The control system of claim 15, wherein the Born machine is configured to generate one or more potential Bayesian network models representative of the real physical system based on prior data and posterior data obtained from the real physical system, and the at least one Bayesian network model arrangement is configured to converge from the one or more potential Bayesian network models to an optimal Bayesian network model to use to control or monitor the real physical system.

### Claim 17 (depends on 16)

The control system of claim 16, wherein the at least one Bayesian network model arrangement is configured to converge from the one or more potential Bayesian network models in a repeated manner to the optimal Bayesian network model to use.

### Claim 18 (depends on 15)

The control system of claim 15, wherein the at least one Bayesian network model arrangement comprises a nested series of models, wherein at least one of the models of the nested series models, is implemented using the quantum computer.

### Claim 19 (depends on 18)

The control system of claim 18, wherein the models of the nested series of models are mutually different and are specialized to perform corresponding specialized variational inference functions.

### Claim 20 (depends on 18)

The control system of claim 18, wherein the nested series of models comprises a nested series of hidden Markov models.

### Claim 21 (depends on 16)

The control system of claim 16, wherein at least one Bayesian network model arrangement of the variational inference arrangement is configured to be taught by using an objective function for at least one of:
(i) minimizing a Kullback-Leibler (KL) divergence of a true posterior and relying on a classifier that estimated a probability ratio; and
(ii) teaching using a kernelized Stein discrepancy (KSD) requiring explicit priors and likelihoods, to converge to the optimal Bayesian network model.

### Claim 22 (depends on 15)

The control system of claim 15, wherein the control system is configured to infer an operating condition of the real physical system from an error signal used to compensate for deviations in operation of the real physical system relative to a learnt representation of the real physical system, wherein the learnt representation of the real physical system is implemented using the at least one Bayesian network model arrangement that is at least partially implemented using the quantum computer.

### Claim 23

A method of using a control system for controlling or monitoring a real physical system, wherein the method comprises:
(i) arranging for the control system to include a hybrid combination of a classical computer and a quantum computer, wherein the control system is configured to receive input data at the classical computer from real physical system, wherein the classical computer and the quantum computer are configured to exchange data therebetween, and to use a variational inference arrangement executed on the hybrid combination to process the input data to generate corresponding output data from the classical computer for use in controlling or monitoring operation of the real physical system; and
(ii) using the variational inference arrangement implemented at least in part by using at least one Bayesian network model arrangement implemented using a Born machine implemented using the quantum computer, to generate one or more inferences regarding an operating condition of the real physical system.

### Claim 24 (depends on 23)

The method of claim 23, wherein the method includes:
(i) configuring the Born machine to generate one or more potential Bayesian network models representative of the real physical system based on prior data and posterior data obtained from the real physical system, and
(ii) configuring the at least one Bayesian network model arrangement to converge from the one or more potential Bayesian network models to an optimal Bayesian network model to use to control or monitor the real physical system.

### Claim 25 (depends on 24)

The method of claim 24, wherein the method comprises configuring the at least one Bayesian network model arrangement to converge from the one or more potential Bayesian network models in an iterative manner to the optimal Bayesian network model to use.

### Claim 26 (depends on 23)

The method of claim 23, wherein the method comprises arranging for the at least one Bayesian network model arrangement to include a nested series of models, wherein at least one of the models of the nested series of models is implemented using the quantum computer

### Claim 27 (depends on 26)

The method of claim 26, wherein the method comprises implementing the models of the nested series of models to be mutually different, and to be specialized to perform corresponding specialized variational inference functions.

### Claim 28 (depends on 27)

The method of claim 27, wherein the nested series of models is implemented as a nested series of hidden Markov models.

### Claim 29 (depends on 23)

The method of claim 23, wherein the method comprises configuring at least one model of the variational inference arrangement to be taught by using an objective function for at least one of:
(i) minimizing a Kullback-Leibler (KL) divergence of a true posterior and relying on a classifier that estimated a probability ratio; and
(ii) teaching using a kernelized Stein discrepancy (KSD) requiring explicit priors and likelihoods, to converge to an optimal Bayesian network model.

### Claim 30 (depends on 23)

The method of claim 23, wherein the method comprises configuring the control system to infer an operating condition of the real physical system from an error signal used to compensate for deviations in operation of the real physical system relative to a learnt representation of the real physical system, wherein the learnt representation of the real physical system is implemented using the at least one Bayesian network model arrangement that is at least partially implemented using the quantum computer.

### Claim 31 (depends on 23)

A machine-readable data storage medium comprising specific instructions that are executable on data processing hardware, wherein the specific instructions, when executed by the data processing hardware, implement the method of claim 23.

### Claim 32

A hybrid computing system for monitoring a real physical system, wherein the hybrid computing system comprises a hybrid combination of a classical computer and a quantum computer, wherein the hybrid computing system is configured to receive input data at the classical computer from the real physical system, wherein the classical computer and the quantum computer are configured to exchange data therebetween, and to use a variational inference arrangement executed on the hybrid combination to process the input data to generate corresponding output data from the classical computer for use in monitoring operation of the real physical system, wherein the variational inference arrangement is implemented at least in part by using at least one Bayesian network model arrangement implemented using a Born machine implemented using the quantum computer.

### Claim 33 (depends on 32)

The hybrid computing system of claim 32, wherein at least one Bayesian network model arrangement of the variational inference arrangement is configured to be taught by using an objective function for at least one of:
(i) minimizing a Kullback-Leibler (KL) divergence of a true posterior and relying on a classifier that estimated a probability ratio; and
(ii) teaching using a kernelized Stein discrepancy (KSD) requiring explicit priors and likelihoods, to converge to an optimal Bayesian network model.

### Claim 34

A method of operating a hybrid computing system for monitoring a real physical system, wherein the hybrid computing system comprises a hybrid combination of a classical computer and a quantum computer, wherein the method includes:
(i) configuring the hybrid computing system to receive input data at the classical computer from the real physical system, wherein the classical computer and the quantum computer are configured to exchange data therebetween, and
(ii) using a variational inference arrangement executed on the hybrid combination to process the input data to generate corresponding output data from the classical computer for use in monitoring operation of the real physical system, wherein the variational inference arrangement is implemented at least in part by using at least one Bayesian network model arrangement implemented using a Born machine implemented using the quantum computer.

### Claim 35 (depends on 34)

The method of claim 34, wherein the method includes configuring at least one Bayesian network model arrangement of the variational inference arrangement to be taught by using an objective function for at least one of:
(i) minimizing a Kullback-Leibler (KL) divergence of a true posterior and relying on a classifier that estimated a probability ratio; and
(ii) teaching using a kernelized Stein discrepancy (KSD) requiring explicit priors and likelihoods, to converge to an optimal Bayesian network model.
