# US 2024/0005185 A1 · Quantum readout error mitigation by stochastic matrix inversion

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

- Number: US 2024/0005185 A1
- Document ID: US20240005185A1
- Status: Published application
- Kind: A1
- Application number: 18/057,084
- Filed: 2022-11-18
- Published: 2024-01-04
- Earliest claimed: 2020-02-14
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Sergey Bravyi; Jay M. Gambetta; David C. Mckay; Sarah E. Sheldon
- Web page: https://patentgrep.com/patent/US20240005185A1

## CPC

- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06N 10/70: Quantum error correction, detection or prevention, e.g. surface codes or magic state distillation
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06N 7/08: using chaos models or non-linear system 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method of mitigating quantum readout errors by stochastic matrix inversion includes performing a plurality of quantum measurements on a plurality of qubits having predetermined plurality of states to obtain a plurality of measurement outputs; selecting a model for a matrix linking the predetermined plurality of states to the plurality of measurement outputs, the model having a plurality of model parameters, wherein a number of the plurality of model parameters grows less than exponentially with a number of the plurality of qubits; training the model parameters to minimize a loss function that compares predictions of the model with the matrix; computing an inverse of the model based on the trained model parameters; and providing the computed inverse of the model to a noise prone quantum readout of the plurality of qubits to obtain a substantially noise free quantum readout.

## Claims

### Claim 1

A method of mitigating quantum readout errors by stochastic matrix inversion, comprising:
selecting a model for a matrix linking a plurality of quantum states to a plurality of measurement outputs;
training the model to minimize a loss function that compares predictions of the model with the matrix; and
apply a computed inverse of the model to a noise prone quantum readout of the plurality of qubits to generate a substantially noise free quantum readout.

### Claim 2 (depends on 1)

The method according to claim 1, wherein selecting the model comprises selecting a Tensor Product (TP) noise model, and the plurality of model parameters include error rates of independent transitions from state 0 to state 1 and probabilities of independent transitions from state 1 to state 0.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the model for the matrix is such that the matrix is a product of a plurality of qubit matrices, each qubit matrix representing a state of a given qubit j in the plurality of qubits, the matrix being expressed as:
A
=
[
1
-
ϵ
1
η
1
ϵ
1
1
-
η
1
]
⊗
…
⊗
[
1
-
ϵ
n
η
n
ϵ
n
1
-
η
n
]
,
wherein ϵj are error rates describing transition from state 0 to state 1 for qubit j (j=1 . . . n), and
wherein ηj (j=1 . . . n) are error rates describing transition from state 1 to state 0 for qubit j (j=1 . . . n).

### Claim 4 (depends on 1)

The method according to claim 1, wherein selecting the model comprises selecting a Continuous Time Markov Process (CTMP) noise model, and the plurality of model parameters include atomic generator elements Gi and transition rates ri, where i represents a qubit i in the plurality of qubits.

### Claim 5 (depends on 4)

The method according to claim 4, wherein the model for the matrix A is such that
A=exp(G)
wherein model parameter generator matrix G is equal to a sum of products of atomic generator elements Gi by transition time-independent rates ri over all qubits i as follows:
G
=
∑
i
G
i
⁢
r
i
.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the atomic generator elements Gi include:
element G1 corresponding to a transition from state 0 to state 1 of a first qubit in the plurality of qubits,
element G2 corresponding to a transition from state 1 to state 0 of the first qubit in the plurality of qubits,
element G3 corresponding to a transition from state 0 to state 1 of a second qubit in the plurality of qubits, and
element G4 corresponding to a transition from state 1 to state 0 of the second qubit in the plurality of qubits.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the atomic generator elements Gi further include:
element G5 corresponding to transition from state 01 to state 11 of neighboring first and second qubits, and
element G6 corresponding to a transition from state 10 to state 11 of the neighboring first and second qubits.

### Claim 8 (depends on 1)

The method according to claim 1,
wherein the model approximates the matrix as an exponential of a model parameter generator matrix G, wherein the model parameter generator matrix G is equal to a sum of products of atomic generator elements Gi by transition time-independent rates ri over all qubits i,
wherein the atomic generator elements Gi of the model parameter generator matrix G generates a transition from a bit string ai to another bit string bi on a subset of bits Ci, wherein ai and bi are either state 0 or state 1 of qubit i.

### Claim 9 (depends on 8)

The method according to claim 8, wherein computing the inverse of the model representing the inverse of the matrix based on the trained model parameters comprises computing the exponential of negative model parameter generator matrix G.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the number of the plurality of model parameters grows linearly with the number of the plurality of states.

### Claim 11 (depends on 1)

The method according to claim 1, wherein providing the computed inverse of the model to the noise prone quantum readout of the plurality of qubits comprises applying the computed inverse of the model to the noise prone quantum readout of the plurality of qubits to substantially correct the noise prone quantum readout so as to substantially remove noise in the noise prone quantum readout.

### Claim 12 (depends on 1)

The method according to claim 1, further comprising constructing the matrix, the matrix having a plurality of matrix elements, each element of the matrix associates each of the pre-determined states of the plurality of qubits with a corresponding each of the plurality of measurement outputs.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the number of the plurality of model parameters grows less than a growth of a number of the plurality of matrix elements.

### Claim 14 (depends on 1)

The method according to claim 1, wherein training the plurality of model parameters to minimize a loss function that compares predictions of the model with the matrix comprises finding the plurality of model parameters that substantially fit the matrix.

### Claim 15

A computer readable medium on which is stored non-transitory computer-executable code, which when executed by a classical computer causes a quantum computer to:
select a model for a matrix linking a plurality of quantum states to a plurality of measurement outputs;
train the model to minimize a loss function that compares predictions of the model with the matrix; and
apply a computed inverse of the model to a noise prone quantum readout of the plurality of qubits to generate a substantially noise free quantum readout.

### Claim 16 (depends on 15)

The computer readable medium according to claim 15, wherein the model for the matrix is a Tensor Product (TP) noise model, and the plurality of model parameters include error rates of independent transitions from state 0 to state 1 and probabilities of independent transitions from state 1 to state 0.

### Claim 17 (depends on 16)

The computer readable medium according to claim 16, wherein the model for the matrix is such that the matrix is a product of a plurality of qubit matrices, each qubit matrix representing a state of a given qubit j in the plurality of qubits, the matrix being expressed as:
A
=
[
1
-
ϵ
1
η
1
ϵ
1
1
-
η
1
]
⊗
…
⊗
[
1
-
ϵ
n
η
n
ϵ
n
1
-
η
n
]
,
wherein ϵj are error rates describing transition from state 0 to state 1 for qubit j (j=1 . . . n), and
wherein ηj (j=1 . . . n) are error rates describing transition from state 1 to state 0 for qubit j (j=1 . . . n).

### Claim 18 (depends on 16)

The computer readable medium according to claim 16, wherein the model for the matrix is a Continuous Time Markov Process (CTMP) noise model, and the plurality of model parameters include atomic generator elements Gi and transition rates ri, where i represents a qubit i in the plurality of qubits.

### Claim 19 (depends on 18)

The computer readable medium according to claim 18, wherein the model for the matrix is such that
A=exp(G)
wherein model parameter generator matrix G is equal to a sum of products of atomic generator elements Gi by transition time-independent rates ri over all qubits i as follows:
G
=
∑
i
G
i
⁢
r
i
.

### Claim 20 (depends on 15)

The computer readable medium according to claim 15,
wherein the model approximates the matrix as an exponential of a model parameter generator matrix G, wherein the model parameter generator matrix G is equal to a sum of products of atomic generator elements Gi by transition time-independent rates ri over all qubits i,
wherein the atomic generator elements Gi of the model parameter generator matrix G generates a transition from a bit string ai to another bit string bi on a subset of bits Ci, wherein ai and bi are either state 0 or state 1 of qubit i.

### Claim 21 (depends on 20)

The computer readable medium according to claim 20, wherein the inverse of the model representing the inverse of the matrix is equal to the exponential of negative model parameter generator matrix G.

### Claim 22 (depends on 15)

The computer readable medium according to claim 15, wherein the number of the plurality of model parameters grows linearly with the number of the plurality of states.

### Claim 23 (depends on 15)

The computer readable medium according to claim 15, wherein applying the computed inverse of the model to the noise prone quantum readout of the plurality of qubits comprises applying the computed inverse of the model to the noise prone quantum readout of the plurality of qubits to substantially correct the noise prone quantum readout so as to substantially remove noise in the noise prone quantum readout.

### Claim 24 (depends on 1)

The computer readable medium according to claim 1, wherein training the plurality of model parameters to minimize a loss function that compares predictions of the model with the matrix comprises finding the plurality of model parameters that substantially fit the matrix.

### Claim 25

A classical computer configured to execute a non-transitory computer-executable code, the code when executed by the classical computer causes a quantum computer to:
select a model for a matrix linking a plurality of quantum states to a plurality of measurement outputs;
train the model to minimize a loss function that compares predictions of the model with the matrix; and
apply a computed inverse of the model to a noise prone quantum readout of the plurality of qubits to generate a substantially noise free quantum readout.
