# US 12,340,277 B2 · Hybrid quantum-classical computer for solving linear systems

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

- Number: US 12,340,277 B2
- Document ID: US12340277B2
- Status: Granted
- Kind: B2
- Application number: 16/591,239
- Filed: 2019-10-02
- Published: 2020-04-02
- Granted: 2025-06-24
- Earliest claimed: 2018-10-02
- Assignees: Zapata Computing, Inc.
- Applicants: Zapata Computing, Inc.
- Inventors: Yudong Cao
- Web page: https://patentgrep.com/patent/US12340277B2

## CPC

- G06N 10/60: Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
- G06F 15/16: Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs {(coordinating program control therefor G06F9/52; in regulating and control system G05B)}
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 10/20: Models of quantum computing, e.g. quantum circuits or universal quantum computers
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A hybrid quantum-classical (HQC) computer system, which includes a classical computer and a quantum computer, solves linear systems. The HQC computer system splits the linear system to be solved into subsystems that are small enough to be solved by the quantum computer, under control of the classical computer. The classical computer synthesizes the outputs of the quantum computer to generate the complete solution to the linear system.

## Claims

### Claim 1

A method for preparing a quantum state that approximates a solution x to a linear system of equations A{right arrow over (x)}={right arrow over (b)} for a matrix A and a vector {right arrow over (b)}, comprising:
(a) on a classical computer, generating an objective function that depends on: (1) at least one expectation-value term derivable from the matrix A, and (2) at least one overlap term derivable from the vector {right arrow over (b)} and the matrix A; and
(b) training a set of circuit parameters {right arrow over (θ)}, comprising:
(1) on a quantum computer, controlling a plurality of qubits, according to the set of circuit parameters {right arrow over (θ)}, to prepare a quantum state |ψ({right arrow over (θ)});
(2) on the quantum computer, obtaining a measured sample, the measured sample being one of: (i) a bit-string of binary values obtained by measuring the plurality of qubits according to a Pauli string derived from the matrix A, and (ii) a measurement of overlap between the quantum state |ψ({right arrow over (θ)}) and a quantum b-state |b) that encodes the vector {right arrow over (b)} on the quantum computer;
(3) on the classical computer, generating an estimate of the objective function based on the measured sample; and
(4) on the classical computer, updating the circuit parameters {right arrow over (θ)}, based on the estimate of the objective function, to optimize a subsequent estimate of the objective function.

### Claim 2 (depends on 1)

The method of claim 1, wherein (b) further comprises:
(5) on the classical computer, determining whether the estimate of the objective function satisfies a convergence criterion; and
(6) returning to (b) (1) if the estimate of the objective function does not satisfy the convergence criterion.

### Claim 3 (depends on 1)

The method of claim 1, wherein (b) (1) comprises:
(a) initiating the plurality of qubits to prepare a reference state; and
(b) driving the plurality of qubits according to a parameterized quantum circuit to transform the reference state into the quantum state |ψ({right arrow over (θ)}).

### Claim 4 (depends on 3)

The method of claim 3, wherein (b)(1)(a) comprises using a mean-field approximation based on self-consistent iterations.

### Claim 5 (depends on 4)

The method of claim 4, wherein the mean-field approximation comprises a Hartree-Fock approximation.

### Claim 6 (depends on 3)

The method of claim 3, wherein the parameterized quantum circuit comprises an alternating operator ansatz.

### Claim 7 (depends on 3)

The method of claim 3, wherein the parameterized quantum circuit implements a unitary coupled-cluster ansatz of a certain level of excitation.

### Claim 8 (depends on 7)

The method of claim 7, further comprising using a Moller-Plesset perturbation theory approximation method to generate an initial assignment for the set of circuit parameters {right arrow over (θ)}.

### Claim 9 (depends on 1)

The method of claim 1, wherein (b)(1) comprises:
(i) initiating the plurality of qubits to prepare a reference state; and
(ii) driving the plurality of qubits according to a tunable annealing schedule to transform the reference state into the quantum state |ψ({right arrow over (θ)}).

### Claim 10 (depends on 1)

The method of claim 1, wherein preparing the quantum state |ψ({right arrow over (θ)}) in (b)(1) comprises using a nearest-neighbor matchgate circuit acting on a one-dimensional qubit chain, wherein the state |ψ({right arrow over (θ)}) represents a fermionic Gaussian state.

### Claim 11 (depends on 1)

The method of claim 1, wherein the objective function comprises ψ({right arrow over (θ)})|A†A|ψ({right arrow over (θ)})−2Reb|A|ψ({right arrow over (θ)}.

### Claim 12 (depends on 1)

The method of claim 1, wherein the objective function comprises ψ({right arrow over (θ)})|A|ψ({right arrow over (θ)})/2−ψ({right arrow over (θ)})|b.

### Claim 13 (depends on 1)

The method of claim 1, further comprising splitting the matrix A into a linear combination of component matrices, each representable by a Pauli string.

### Claim 14 (depends on 1)

The method of claim 1, wherein the matrix A is a fermionic Hamiltonian representing n spin orbitals as a sum of Pauli strings.

### Claim 15 (depends on 1)

The method of claim 1, further comprising preparing the quantum b-state |b on the quantum computer before obtaining the measurement of overlap.

### Claim 16

A hybrid quantum-classical computing system for preparing a quantum state that approximates a solution x to a linear system of equations A{right arrow over (x)}={right arrow over (b)} for a matrix A and a vector {right arrow over (b)}, the hybrid quantum-classical computing system comprising:
a quantum computing component having a plurality of qubits; and
a classical computing component storing machine-readable instructions that, when executed by the classical computing component, control the classical computing component to cooperate with the quantum computing component to perform operations comprising:
(a) on the classical computing component, generating an objective function that depends on: (1) at least one expectation-value term derivable from the matrix A, and
(2) at least one overlap term derivable from the vector {right arrow over (b)} and the matrix A; and
(b) training a set of circuit parameters {right arrow over (θ)}, comprising:
(1) on the quantum computing component, controlling a plurality of qubits, according to the set of circuit parameters {right arrow over (θ)}, to prepare a quantum state |ψ({right arrow over (θ)});
(2) on the quantum computing component, obtaining a measured sample, the measured sample being one of: (i) a bit-string of binary values obtained by measuring the plurality of qubits according to a Pauli string derived from the matrix A, and (ii) a measurement of overlap between the quantum state |ψ({right arrow over (θ)}) and a quantum b-state |b that encodes the vector {right arrow over (b)} on the quantum computing component;
(3) on the classical computing component, generating an estimate of the objective function based on the measured sample; and
(4) on the classical computing component, updating the circuit parameters {right arrow over (θ)}, based on the estimate of the objective function, to optimize a subsequent estimate of the objective function.

### Claim 17 (depends on 16)

The hybrid quantum-classical computing system of claim 16, wherein (b) further comprises:
(5) on the classical computing component, determining whether the estimate of the objective function satisfies a convergence criterion; and
(6) returning to (b)(1) if the estimate of the objective function does not satisfy the convergence criterion.

### Claim 18 (depends on 16)

The hybrid quantum-classical computing system of claim 16, wherein (b)(1) comprises:
(a) initiating the plurality of qubits to prepare a reference state; and
(b) driving the plurality of qubits according to a parameterized quantum circuit to transform the reference state into the quantum state |ψ({right arrow over (θ)}).

### Claim 19 (depends on 18)

The hybrid quantum-classical computing system of claim 18, wherein (b)(1)(a) comprises using a mean-field approximation based on self-consistent iterations.

### Claim 20 (depends on 19)

The hybrid quantum-classical computing system of claim 19, wherein the mean-field approximation comprises a Hartree-Fock approximation.

### Claim 21 (depends on 18)

The hybrid quantum-classical computing system of claim 18, wherein the parameterized quantum circuit comprises an alternating operator ansatz.

### Claim 22 (depends on 18)

The hybrid quantum-classical computing system of claim 18, wherein the parameterized quantum circuit implements a unitary coupled-cluster ansatz of a certain level of excitation.

### Claim 23 (depends on 22)

The hybrid quantum-classical computing system of claim 22, the classical computing component storing additional machine-readable instructions that control the classical computing component to cooperate with the quantum computing component to use a Moller-Plesset perturbation theory approximation method to generate an initial assignment for the set of circuit parameters {right arrow over (θ)}.

### Claim 24 (depends on 16)

The hybrid quantum-classical computing system of claim 16, wherein (b)(1) comprises:
(i) initiating the plurality of qubits to prepare a reference state; and
(ii) driving the plurality of qubits according to a tunable annealing schedule to transform the reference state into the quantum state |ψ({right arrow over (θ)}).

### Claim 25 (depends on 16)

The hybrid quantum-classical computing system of claim 16, wherein preparing the quantum state |ψ({right arrow over (θ)}) in (b)(1) comprises using a nearest-neighbor matchgate circuit acting on a one-dimensional qubit chain, wherein the state |ψ({right arrow over (θ)}) represents a fermionic Gaussian state.

### Claim 26 (depends on 16)

The hybrid quantum-classical computing system of claim 16, wherein the objective function comprises ψ({right arrow over (θ)})|A†A|ψ({right arrow over (θ)})−2Reb|A|ψ({right arrow over (θ)}).

### Claim 27 (depends on 16)

The hybrid quantum-classical computing system of claim 16, wherein the objective function comprises ψ({right arrow over (θ)})|A|ψ({right arrow over (θ)})/2−ψ({right arrow over (θ)})|b.

### Claim 28 (depends on 16)

The hybrid quantum-classical computing system of claim 16, the classical computing component storing additional machine-readable instructions that control the classical computing component to cooperate with the quantum computing component to split the matrix A into a linear combination of component matrices, each representable by a Pauli string.

### Claim 29 (depends on 16)

The hybrid quantum-classical computing system of claim 16, wherein the matrix A is a fermionic Hamiltonian representing n spin orbitals as a sum of Pauli strings.

### Claim 30 (depends on 16)

The hybrid quantum-classical computing system of claim 16, the classical computing component storing additional machine-readable instructions that control the classical computing component to cooperate with the quantum computing component to prepare the quantum b-state |b on the quantum computing component before obtaining the measurement of overlap.
