# US 2025/0165837 A1 · Quantum processing unit

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

- Number: US 2025/0165837 A1
- Document ID: US20250165837A1
- Status: Published application
- Kind: A1
- Application number: 18/839,666
- Filed: 2023-02-13
- Published: 2025-05-22
- Earliest claimed: 2022-03-14
- Assignees: IQM Finland Oy; The University of the Basque Country
- Applicants: Iqm Finland Oy; University of the Basque Country
- Inventors: Ana MARTIN; Mikel SANZ
- Web page: https://patentgrep.com/patent/US20250165837A1

## CPC

- G06N 10/60: Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
- G06N 10/20: Models of quantum computing, e.g. quantum circuits or universal quantum computers
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The invention is in the field of quantum computing, specifically a quantum processing unit optimized for performing an all-quantum Harrow-Hassidim-Lloyd algorithm. The quantum processing unit includes a single ancilla qubit directly connected to each qubit in a group of register qubits, and a group of memory qubits connected to the group of register qubits such that least one of the memory qubits is directly connected to at least one of the register qubits.

## Claims

### Claim 1

A quantum processing unit for carrying out a HHL algorithm, the quantum processing unit comprising:
an ancilla qubit;
a plurality of register qubits; and
a plurality of memory qubits;
wherein the ancilla qubit is connected only to the plurality of register qubits and the plurality of memory qubits is connected only to the plurality of register qubits, and wherein the ancilla qubit is connected to all of the register qubits in the plurality of register qubits.

### Claim 2 (depends on 1)

The quantum processing unit of claim 1, wherein the HHL algorithm solves a system of linear equations defined by A|x=|b, where |x is the solution vector, matrix A defines the coefficients and |b defines the constant terms, and wherein the quantum processing unit is configured to:
store the constant terms |b and the solution vector |x in the plurality of memory qubits;
encode the nR-binary representation of the eigenvalues of A in the plurality of register qubits, where nR is the number of register qubits; and
store the inverse of the eigenvalues of A in the ancilla qubit.

### Claim 3 (depends on 2)

The quantum processing unit of claim 2, wherein the quantum processing unit is further configured to:
initialize the ancilla qubit and each of the register qubits to the |0 state and initialize the memory qubits to a state |b representing the constant terms;
apply a quantum phase estimation algorithm to the register qubits and memory qubits in order to decompose |b in the eigenbasis of A and find the corresponding eigenvalues;
perform a linear map codifying the inverse of the eigenvalues λj into the amplitude of the ancilla qubit by applying a plurality of single qubit gates and a plurality of controlled quantum gates to the ancilla qubit, each controlled quantum gate rotating the quantum state of the ancilla qubit around the y-axis depending on the state of one of the register qubits;
apply an inverse quantum phase estimation algorithm to uncompute the estimate eigenvalues stored in the register qubits; and
measure the ancilla qubit in the Z-axis to determine whether linear map was successful.

### Claim 4 (depends on 1)

The quantum processing unit of claim 1, wherein each of the memory qubits in the plurality of memory qubits is directly connected to one other memory qubit in the plurality of memory qubits.

### Claim 5 (depends on 4)

The quantum processing unit of claim 4, wherein one of the memory qubits in the plurality of memory qubits is connected to all of the register qubits in the plurality of register qubits.

### Claim 6 (depends on 4)

The quantum processing unit of claim 4, wherein one of the memory qubits in the plurality of memory qubits is connected to a subgroup of the register qubits in the plurality of register qubits.

### Claim 7 (depends on 1)

The quantum processing unit of claim 1, wherein the register qubits are interconnected such that all of the register qubits are connected directly or indirectly via other register qubits.

### Claim 8 (depends on 7)

The quantum processing unit of claim 7, wherein the register qubits are interconnected such that the register qubits and connections between register qubits form a two-degree chain.

### Claim 9 (depends on 1)

The quantum processing unit of claim 1, wherein the ancilla qubit, each register qubit in the plurality of register qubits and each memory qubit in the plurality of memory qubits are logical qubits, and wherein each logical qubit comprises one or more physical qubits.

### Claim 10 (depends on 9)

The quantum processing unit of claim 9, wherein the logical ancilla qubit comprises at least two physical ancilla qubits and wherein each physical ancilla qubit is connected to the other physical ancilla qubit or qubits, either directly or indirectly via one or more other physical ancilla qubits.

### Claim 11 (depends on 1)

A method of performing an approximate HHL algorithm for a system of linear equations defined by A|x=|b, where |x is the solution vector, matrix A defines the coefficients and |b defines the constant terms, the method using the quantum processing unit of claim 1 and comprising:
initializing the ancilla qubit and each of the register qubits to the |0 state and initialize the memory qubits to a state |b, which represents the constant terms;
applying a quantum phase estimation algorithm to the register qubits and memory qubits in order to decompose |b in the eigenbasis of A and find the corresponding eigenvalues λj;
performing a linear map codifying the inverse of the eigenvalues λj into the amplitude of the ancilla qubit by applying a plurality of single qubit gates and a plurality of controlled quantum gates to the ancilla qubit, each controlled quantum gate rotating the quantum state of the ancilla qubit around the y-axis depending on the state of one of the register qubits;
applying an inverse quantum phase estimation algorithm to uncompute the estimated eigenvalues stored in the register qubits; and
measuring the ancilla qubit in the Z-axis to determine whether linear map was successful.

### Claim 12 (depends on 11)

A hybrid classical-quantum computer system comprising a classical processing unit and a quantum processing unit, wherein the classical processing unit configured to apply control signals to the quantum processing unit to cause the quantum processing unit to perform the method of claim 11.

### Claim 13 (depends on 11)

A computer program product comprising instructions which, when executed by a computer, cause the computer to perform the method of claim 11.

### Claim 14 (depends on 11)

A computer-readable medium comprising instructions which, when executed by a computer, cause the computer to perform the method of claim 11.
