# US 2023/0419143 A1 · Systems and methods for simulation of quantum circuits using extracted hamiltonians

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

- Number: US 2023/0419143 A1
- Document ID: US20230419143A1
- Status: Published application
- Kind: A1
- Application number: 18/251,348
- Filed: 2020-11-20
- Published: 2023-12-28
- Earliest claimed: 2020-11-20
- Applicants: Alibaba Group Holding Limited
- Inventors: Dawei DING; Huihai ZHAO; Hsiang-Sheng KU
- Web page: https://patentgrep.com/patent/US20230419143A1

## CPC

- 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 10/60: Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for optimizing a quantum circuit is disclosured. The method comprises acquiring a representation of a quantum circuit comprising one or more qubits, transforming, by linear transformation, first Hamiltonian corresponding to the quantum circuit to generate modes, generating a third Hamiltonian by removing the free modes from a second Hamiltonian in which free modes are decoupled from non-free the second Hamiltonian, simulating a behavior of the quantum circuit using the third Hamiltonian, and adjusting a design of the quantum circuit based on the simulated behavior of the quantum circuit.

## Claims

### Claim 1

A method for optimizing a quantum circuit, comprising:
acquiring a representation of a quantum circuit comprising one or more qubits;
transforming, using a linear transformation matrix, a first Hamiltonian corresponding to the quantum circuit to generate a second Hamiltonian in which free modes are decoupled from non-free modes;
generating a third Hamiltonian by removing the free modes from the second Hamiltonian;
simulating a behavior of the quantum circuit using the third Hamiltonian; and
adjusting a design of the quantum circuit based on the simulated behavior of the quantum circuit.

### Claim 2 (depends on 1)

The method of claim 1, wherein transforming the first Hamiltonian to generate the second Hamiltonian comprises:
transforming an inverse of a charge coupling matrix of the first Hamiltonian to an inverse of a transformed charge coupling matrix such that the transformed charge coupling matrix in the second Hamiltonian is block diagonalized into a free mode sector and a non-free mode sector.

### Claim 3 (depends on 2)

The method of claim 2, wherein transforming the first Hamiltonian to generate the second Hamiltonian further comprises:
transforming a charge operator of the first Hamiltonian using the linear transformation matrix.

### Claim 4 (depends on 2)

The method of claim 2, wherein transforming the first Hamiltonian to generate the second Hamiltonian further comprises:
transforming a flux operator of the first Hamiltonian such that a canonical commutation relation of the first Hamiltonian is preserved in the second Hamiltonian.

### Claim 5 (depends on 1)

The method of claim 1, further comprises performing Gaussian elimination on an effective capacitance matrix of the first Hamiltonian using the linear transformation matrix.

### Claim 6 (depends on 1)

The method of claim 1, wherein simulating the behavior of the quantum circuit using the third Hamiltonian comprises:
obtaining discrete energy eigenvalues of the quantum circuit by diagonalizing the third Hamiltonian.

### Claim 7 (depends on 1)

The method of claim 1, wherein the behavior of the quantum circuit comprises a frequency of a qubit among the one or more qubits.

### Claim 8

An apparatus for optimizing a quantum circuit, comprising:
a memory for storing a set of instructions; and
at least one processor configured to execute the set of instructions to cause the apparatus to perform operations including:
acquiring a representation of a quantum circuit comprising one or more qubits;
transforming, using a linear transformation matrix, a first Hamiltonian corresponding to the quantum circuit to generate a second Hamiltonian in which free modes are decoupled from non-free modes;
generating a third Hamiltonian by removing the free modes from the second Hamiltonian;
simulating a behavior of the quantum circuit using the third Hamiltonian; and
adjusting a design of the quantum circuit based on the simulated behavior of the quantum circuit.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein transforming the first Hamiltonian to generate the second Hamiltonian includes:
transforming an inverse of a charge coupling matrix of the first Hamiltonian to an inverse of a transformed charge coupling matrix such that the transformed charge coupling matrix in the second Hamiltonian is block diagonalized into a free mode sector and a non-free mode sector.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein in transforming the first Hamiltonian to generate the second Hamiltonian further includes:
transforming a charge operator of the first Hamiltonian using the linear transformation matrix.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein in transforming the first Hamiltonian to generate the second Hamiltonian further includes:
transforming a flux operator of the first Hamiltonian such that a canonical commutation relation of the first Hamiltonian is preserved in the second Hamiltonian.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein the linear transformation matrix is configured to perform Gaussian elimination on an effective capacitance matrix of the first Hamiltonian.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein simulating the behavior of the quantum circuit using the third Hamiltonian further comprises:
obtaining discrete energy eigenvalues of the quantum circuit by diagonalizing the third Hamiltonian.

### Claim 14 (depends on 7)

The apparatus of claim 7 wherein the behavior of the quantum circuit comprises a frequency of a qubit among the one or more qubits.

### Claim 15

A non-transitory computer readable medium that stores a set of instructions that is executable by at least one processor of a computing device to perform a method for optimizing a quantum circuit, the method comprising:
acquiring a representation of a quantum circuit comprising one or more qubits;
transforming, using a linear transformation matrix, a first Hamiltonian corresponding to the quantum circuit to generate a second Hamiltonian in which free modes are decoupled from non-free modes;
generating a third Hamiltonian by removing the free modes from the second Hamiltonian;
simulating a behavior of the quantum circuit using the third Hamiltonian; and
adjusting a design of the quantum circuit based on the simulated behavior of the quantum circuit.

### Claim 16 (depends on 15)

The computer readable medium of claim 15, wherein in transforming the first Hamiltonian to generate the second Hamiltonian further comprises:
transforming an inverse of a charge coupling matrix of the first Hamiltonian to an inverse of a transformed charge coupling matrix such that the transformed charge coupling matrix in the second Hamiltonian is block diagonalized into a free mode sector and a non-free mode sector.

### Claim 17 (depends on 16)

The computer readable medium of claim 16, wherein in transforming the first Hamiltonian to generate the second Hamiltonian further comprises:
transforming a charge operator of the first Hamiltonian using the linear transformation matrix.

### Claim 18 (depends on 16)

The computer readable medium of claim 16, wherein in transforming the first Hamiltonian to generate the second Hamiltonian further comprises:
transforming a flux operator of the first Hamiltonian such that a canonical commutation relation of the first Hamiltonian is preserved in the second Hamiltonian.

### Claim 19 (depends on 15)

The computer readable medium of claim 15, wherein generating the third Hamiltonian further comprises:
perform Gaussian elimination on an effective capacitance matrix of the first Hamiltonian using the linear transformation matrix.

### Claim 20 (depends on 15)

The computer readable medium of claim 15, wherein in simulating the behavior of the quantum circuit using the third Hamiltonian further comprises:
obtaining discrete energy eigenvalues of the quantum circuit by diagonalizing the third Hamiltonian.

### Claim 21 (depends on 15)

The computer readable medium of claim 15, wherein the behavior of the quantum circuit comprises a frequency of a qubit among the one or more qubits.
