# US 2021/0334691 A1 · Error corrected variational algorithms

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

- Number: US 2021/0334691 A1
- Document ID: US20210334691A1
- Status: Published application
- Kind: A1
- Application number: 17/278,137
- Filed: 2018-09-25
- Published: 2021-10-28
- Earliest claimed: 2018-09-25
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Ryan Babbush; Austin Greig Fowler
- Web page: https://patentgrep.com/patent/US20210334691A1

## 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)}
- G06F 30/20: Design optimisation, verification or simulation (optimisation, verification or simulation of circuit designs G06F30/30)
- G06F 30/337: Design optimisation
- G06N 10/00: Quantum computing, i.e. information processing based on quantum-mechanical phenomena
- G06N 10/20: Models of quantum computing, e.g. quantum circuits or universal quantum computers
- G06N 10/70: Quantum error correction, detection or prevention, e.g. surface codes or magic state distillation
- G06F 30/373: Design optimisation
- G06F 30/398: Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM] (optical proximity correction [OPC] design processes G03F1/36)
- G06N 10/40: Physical realisations or architectures of quantum processors or components for manipulating qubits, e.g. qubit coupling or qubit control
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods, systems and apparatus for approximating a target quantum state. In one aspect, a method for determining a target quantum state includes the actions of receiving data representing a target quantum state of a quantum system as a result of applying a quantum circuit to an initial quantum state of the quantum system; determining an approximate quantum circuit that approximates the specific quantum circuit by adaptively adjusting a number of T gates available to the specific quantum circuit; and applying the determined approximate quantum circuit to the initial quantum state to obtain an approximation of the target quantum state.

## Claims

### Claim 1

A computer implemented method for approximating a target quantum state, the method comprising:
receiving data representing the target quantum state of a quantum system, wherein the target quantum state is defined as a result of applying a specific quantum circuit to an initial quantum state of the quantum system;
determining an approximate quantum circuit that approximates the specific quantum circuit by adaptively adjusting a number of T gates available to the specific quantum circuit; and
applying the determined approximate quantum circuit to the initial quantum state to obtain an approximation of the target quantum state.

### Claim 2 (depends on 1)

The method of claim 1 wherein determining an approximate quantum circuit by adaptively adjusting a total number of T gates available to the quantum circuit comprises:
assigning an initial number of T gates to the quantum circuit; and
iteratively increasing the initial number of T gates assigned to the quantum circuit until termination criteria are met.

### Claim 3 (depends on 2)

The method of claim 2, wherein iteratively increasing the number of T gates assigned to the quantum circuit, comprises, for each iteration:
determining a number of T gates for the iteration, the number of T gates for the iteration being larger than the number of T gates for the previous iteration;
generating one or more updated quantum circuits for the iteration using the determined number of T gates for the iteration, wherein each updated quantum circuit corresponds to a different assignment of the determined number of T gates within the updated quantum circuit;
determining, for each updated quantum circuit, an energy expectation value of the quantum system for the iteration using the updated quantum circuit;
identifying a lowest determined energy expectation value of the quantum system;
determining whether the difference between the lowest determined energy expectation value for the iteration and a lowest determined energy expectation value for the previous iteration exceeds a predetermined threshold; and
in response to determining that the difference exceeds the predetermined threshold, performing a subsequent iteration.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
in response to determining that the difference does not exceed the predetermined threshold, approximating the quantum circuit using a T gate assignment that corresponds to a lowest energy expectation value for the previous iteration.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining an approximate quantum circuit by adaptively adjusting a total number of T gates available to the quantum circuit comprises:
assigning an initial number of T gates to the quantum circuit; and
iteratively decreasing the initial number of T gates assigned to the quantum circuit until termination criteria are met.

### Claim 6 (depends on 5)

The method of claim 5, wherein iteratively decreasing the number of T gates available to the quantum circuit comprises, for each iteration:
determining a number of T gates for the iteration, the number of T gates for the iteration being smaller than the number of T gates for the previous iteration;
generating one or more updated quantum circuits for the iteration using the determined number of T gates for the iteration, wherein each updated quantum circuit corresponds to a different assignment of the determined number of T gates within the updated quantum circuit;
determining, for each updated quantum circuit, an energy expectation value of the quantum system for the iteration using the updated quantum circuit;
identifying a lowest determined energy expectation value of the quantum system;
determining whether the difference between the lowest determined energy expectation value for the iteration and a lowest determined energy expectation value for the previous iteration exceeds a predetermined threshold; and
in response to determining that the difference does not exceed the predetermined threshold, performing a subsequent iteration.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
in response to determining that the difference exceeds the predetermined threshold, approximating the quantum circuit using a T gate assignment that corresponds to a lowest energy expectation value for the previous iteration.

### Claim 8 (depends on 1)

The method of claim 1, wherein the method further comprises performing a variational algorithm to determine an adjusted quantum circuit that, when applied to the initial quantum state, approximates the ground state of the quantum system, and wherein determining an approximate quantum circuit by adaptively adjusting a number of T gates available to the quantum circuit comprises:
determining the approximate quantum circuit by adaptively adjusting a number of T gates available to the adjusted quantum circuit.

### Claim 9 (depends on 8)

The method of claim 8, adaptively adjusting a number of T gates available to the adjusted quantum circuit comprises:
determining respective distances between (i) values of circuit parameters, and (ii) variationally adjusted values of circuit parameters; and
determine a T gate assignment that reduces one or more of the determined distances.

### Claim 10 (depends on 9)

The method of claim 9, wherein the distances comprise L2 norms.

### Claim 11 (depends on 1)

The method of claim 1, wherein determining an approximate quantum circuit by adaptively adjusting a number of T gates available to the quantum circuit comprises:
fixing the total number of T gates available to the quantum circuit;
performing a discrete optimization routine to assign a particular configuration of the fixed total number of T gates to the adjusted circuit parameters.

### Claim 12 (depends on 11)

The method of claim 11, wherein the discrete optimization routine comprises simulated annealing.

### Claim 13 (depends on 1)

The method of claim 1, wherein the quantum circuit comprises one T factory storing physical qubits for implementing T gates.

### Claim 14 (depends on 13)

The method of claim 13, wherein applying the determined approximate quantum circuit to the initial quantum state to obtain an approximation of the target quantum state comprises using the T factory to implement T gates in series.

### Claim 15

An apparatus comprising:
quantum hardware comprising:
a quantum system;
one or more control devices configured to generate and apply quantum circuits to the quantum system; and
one or more classical processors;
wherein the apparatus is configured to perform operations for approximating a target quantum state, the operations comprising:
receiving data representing the target quantum state of a quantum system, wherein the target quantum state is defined as a result of applying a specific quantum circuit to an initial quantum state of the quantum system;
determining an approximate quantum circuit that approximates the specific quantum circuit by adaptively adjusting a number of T gates available to the specific quantum circuit; and
applying the determined approximate quantum circuit to the initial quantum state to obtain an approximation of the target quantum state.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the quantum hardware comprises a T factory storing physical qubits for implementing T gates.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein applying the determined approximate quantum circuit to the initial quantum state to obtain an approximation of the target quantum state comprises using the T factory to implement T gates in series.
