# US 2022/0292385 A1 · Flexible initializer for arbitrarily-sized parametrized quantum circuits

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

- Number: US 2022/0292385 A1
- Document ID: US20220292385A1
- Status: Published application
- Kind: A1
- Application number: 17/691,493
- Filed: 2022-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Applicants: Zapata Computing, Inc.
- Inventors: Frederic Sauvage
- Web page: https://patentgrep.com/patent/US20220292385A1

## CPC

- G06N 10/60: Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0499: Feedforward networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/0985: Hyperparameter optimisation; Meta-learning; Learning-to-learn
- G06N 10/20: Models of quantum computing, e.g. quantum circuits or universal quantum computers
- 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

## Abstract

A method and system are provided for optimizing parameters of a parametrized quantum circuit (PQC), using machine learning to train a flexible initializer for arbitrarily-sized parametrized quantum circuits. The disclosed technology may be applied to families of PQCs. Instead of using a generic or random set of initial parameters, the disclosed technology learns the structure of successful parameters from a family of related problem instances, which are then used as the machine learning training set. The method may predict optimal initializing parameters for quantum circuits having a larger number of parameters than those used in the training set.

## Claims

### Claim 1

A method, performed on a hybrid quantum-classical computer system for computing initializing parameters for a parametrized quantum circuit (PQC), the hybrid quantum-classical computer system comprising a classical computer and a quantum computer,
the classical computer including a processor, a non-transitory computer-readable medium, and computer instructions stored in the non-transitory computer-readable medium;
the quantum computer including a quantum component, having a plurality of qubits, which accepts a sequence of instructions to evolve a quantum state based on a series of quantum gates;
wherein the computer instructions, when executed by the processor, perform the method, the method comprising:
defining a PQC problem having a parametrized circuit ansatz and an objective, based on a system size comprising N qubits and a quantum circuit with K parameters;
using an encoder of an encoder-decoder, mapping the PQC problem to a set of initial parameters, wherein each parameter k in the K parameters is represented as a corresponding encoding vector, the corresponding encoding vector containing information about the parameter k, the quantum circuit, and the objective C;
using a trainable decoding element of the encoder-decoder, decoding the K encodings by a neural network having a plurality of weights and wherein a single value is output for each corresponding encoding vector;
generating a vector of initial parameters having a dimension equal to K;
using the vector of initial parameters as a starting point, performing a gradient descent (GD) optimization for S steps to minimize a meta-loss function having a loss as output; and
backpropagating the loss to update the plurality of weights,
whereby initializing parameters are generated, which incorporate relevant information about the objective C, to produce a fully problem-dependent set of initial parameters.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the corresponding encoding vectors contains information about the objective.

### Claim 3 (depends on 1)

The method of claim 1, wherein each of the corresponding encoding vectors is a fixed size and uniquely represents the corresponding one of the K parameters.

### Claim 4 (depends on 1)

The method of claim 1, wherein the generation of the vector of initial parameters is accelerated relative to random generation of initial parameters.

### Claim 5 (depends on 1)

The method of claim 1, wherein the initialization method uses machine learning to provide a flexible initializer for arbitrarily-sized parametrized quantum circuits.

### Claim 6 (depends on 1)

The method of claim 1, further comprising applying the method to quantum circuits of varying sizes.

### Claim 7 (depends on 1)

The method of claim 1, wherein the method is applied to learning arbitrarily-sized quantum circuits.

### Claim 8 (depends on 1)

The method of claim 1, wherein encoding vectors are fully defined by the PQC problem.

### Claim 9 (depends on 1)

The method of claim 1, whereby the method computes the initializing parameters for QAOA applied to max-cut problems.

### Claim 10 (depends on 1)

The method of claim 1, whereby the method computes the initializing parameters for optimizing the 1D Fermi-Hubbard model (1D) FHM.

### Claim 11 (depends on 1)

The method of claim 1, wherein performing the GD optimization comprises minimizing local minima.

### Claim 12 (depends on 1)

The method of claim 1, wherein performing the GD optimization comprises minimizing barren plateaus.

### Claim 13 (depends on 1)

The method of claim 1, wherein the parametrized circuit ansatz comprises a Low Depth Circuit Ansatz (LDCA).

### Claim 14

A hybrid quantum-classical computer system for computing the initializing parameters for a parametrized quantum circuit (PQC), the computer system comprising a classical computer and a quantum computer,
the classical computer including a processor, a non-transitory computer-readable medium, and computer instructions stored in the non-transitory computer-readable medium;
the quantum computer including a quantum component, having a plurality of qubits, which accepts a sequence of instructions to evolve a quantum state based on a series of quantum gates;
wherein the computer instructions, when executed by the processor, perform the method, the method comprising:
defining a PQC problem having a parametrized circuit ansatz and an objective which can be estimated through repeated measurements on the output state, based a system size comprising N qubits and a quantum circuit with K parameters;
using an encoder element of a encoder-decoder, mapping the PQC problem to a set of initial parameters, wherein each of the K parameters is represented as an encoding vector, the encoding vector containing information about the parameter, the overall circuit, and the objective;
using a trainable decoding element of the encoder-decoder, decoding the K encodings by a neural network having weight and wherein a single value is output for each encoding;
generating a vector of initial parameters having a dimension matching K parameters;
using the vector of initial parameters as a starting point, performing a gradient descent (GD) optimization for S steps to minimize the meta-loss function; and
backpropagating the loss to update the weights of the decoder.

### Claim 15 (depends on 1)

The system of claim 1, wherein the encoding vector contains information about the objective.

### Claim 16 (depends on 1)

The system of claim 1, wherein each of the encodings is a fixed size and uniquely represents each parameter.

### Claim 17 (depends on 1)

The system of claim 1, wherein the optimization method accelerates initial parameters generation.

### Claim 18 (depends on 1)

The system of claim 1, wherein learning a set of initial parameters is efficiently refined by gradient descent GD.

### Claim 19 (depends on 1)

The system of claim 1, wherein the method uses meta-learning.

### Claim 20 (depends on 1)

The system of claim 1, wherein the method is applied to quantum circuits of varying sizes.

### Claim 21 (depends on 1)

The system of claim 1, wherein the method is applied for learning arbitrarily-sized quantum circuits.

### Claim 22 (depends on 1)

The system of claim 1, wherein initial parameters are fully defined by the PQC problem.

### Claim 23 (depends on 1)

The system of claim 1, wherein the set of initial parameters are computed for QAOA applied to max-cut problems.

### Claim 24 (depends on 1)

The system of claim 1, wherein the set of initial parameters are computed for optimizing the 1D Fermi-Hubbard model (1D) FHM.

### Claim 25 (depends on 1)

The system of claim 1, wherein local minima are minimized.

### Claim 26 (depends on 1)

The system of claim 1, wherein barren plateaus are minimized.

### Claim 27 (depends on 1)

The system of claim 1, wherein the quantum circuit ansatz is a Low Depth Circuit Ansatz (LDCA).

### Claim 28

A method for solving a parameterized quantum circuit (PQC) problem for a system having N qubits and K parameters, the problem comprising a parametrized circuit ansatz and an objective C;
defining a PQC problem having a parametrized circuit ansatz and an objective which can be estimated through repeated measurements on the output state, based a system size comprising N qubits and a quantum circuit with K parameters;
using an encoder element of a encoder-decoder, mapping the PQC problem to a set of initial parameters, wherein each of the K parameters is represented as an encoding vector, the encoding vector containing information about the parameter, the overall circuit, and the objective;
using a trainable decoding element of the encoder-decoder, decoding the K encodings by a neural network having weight and wherein a single value is output for each encoding;
generating a vector of initial parameters having a dimension matching K parameters;
using the vector of initial parameters as a starting point, performing a gradient descent (GD) optimization for S steps to minimize the meta-loss function; and
backpropagating the loss to update the weights of the decoder.
