# US 2024/0202559 A1 · Reducing number of shots required to perform a noisy circuit simulation

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

- Number: US 2024/0202559 A1
- Document ID: US20240202559A1
- Status: Published application
- Kind: A1
- Application number: 18/082,510
- Filed: 2022-12-15
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Jun Doi; Hiroshi Horii
- Web page: https://patentgrep.com/patent/US20240202559A1

## CPC

- G06N 10/20: Models of quantum computing, e.g. quantum circuits or universal quantum computers
- G06N 10/00: Quantum computing, i.e. information processing based on quantum-mechanical phenomena
- G06N 10/60: Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 11/3457: {Performance evaluation by simulation}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method, system and computer program product for reducing the number of shots required to perform a noisy circuit simulation. A noise model, such as the Pauli noise model or the Kraus noise model, is applied to each shot of the quantum circuit, where the noise model randomly selects a gate operation to be performed in simulating the quantum circuit. A subset of shots are identified (e.g., shot numbers 1 and 3), where each of the selected subset of shots has the same gate operation(s) selected by the noise model to be performed in simulating the quantum circuit. A single simulation of the quantum circuit will then be performed for such a subset of shots using the selected gate operation (e.g., Pauli Z gate) for such a group of shots. In this manner, the number of shots required to perform a noisy circuit simulation is reduced.

## Claims

### Claim 1

A method for reducing a number of shots required to perform a noisy circuit simulation, the method comprising:
applying a noise model to each shot of a plurality of shots of a quantum circuit which randomly selects a gate operation to be performed in simulating said quantum circuit;
identifying a subset of said plurality of shots with a selection of a same gate operation; and
performing a single simulation of said quantum circuit for said identified subset of said plurality of shots using said same gate operation.

### Claim 2 (depends on 1)

The method as recited in claim 1, wherein a plurality of subsets of said plurality of shots are identified, wherein each of said plurality of subsets of said plurality of shots utilizes a different gate operation selected by said noise model.

### Claim 3 (depends on 1)

The method as recited in claim 1 further comprising:
measuring quantum states of qubits of said simulated quantum circuit for said identified subset of said plurality of shots after performing said single simulation; and
updating a statevector with said measured quantum states of qubits of said simulated quantum circuit.

### Claim 4 (depends on 1)

The method as recited in claim 1 further comprising:
initializing a statevector for said plurality of shots of said quantum circuit; and
creating a new statevector for said identified subset of said plurality of shots.

### Claim 5 (depends on 4)

The method as recited in claim 4, wherein said new statevector comprises a copy of said initialized statevector, wherein said new statevector comprises a listing of said identified subset of said plurality of shots.

### Claim 6 (depends on 5)

The method as recited in claim 5 further comprising:
measuring quantum states of qubits of said simulated quantum circuit for said identified subset of said plurality of shots after performing said single simulation; and
updating said new statevector with said measured quantum states of qubits of said simulated quantum circuit.

### Claim 7 (depends on 4)

The method as recited in claim 4 further comprising:
storing a list of shots comprising said identified subset of said plurality of shots in an out of memory list in response to a lack of memory for storing said created new statevector.

### Claim 8

A computer program product for reducing a number of shots required to perform a noisy circuit simulation, the computer program product comprising one or more computer readable storage mediums having program code embodied therewith, the program code comprising programming instructions for:
applying a noise model to each shot of a plurality of shots of a quantum circuit which randomly selects a gate operation to be performed in simulating said quantum circuit;
identifying a subset of said plurality of shots with a selection of a same gate operation; and
performing a single simulation of said quantum circuit for said identified subset of said plurality of shots using said same gate operation.

### Claim 9 (depends on 8)

The computer program product as recited in claim 8, wherein a plurality of subsets of said plurality of shots are identified, wherein each of said plurality of subsets of said plurality of shots utilizes a different gate operation selected by said noise model.

### Claim 10 (depends on 8)

The computer program product as recited in claim 8, wherein the program code further comprises the programming instructions for:
measuring quantum states of qubits of said simulated quantum circuit for said identified subset of said plurality of shots after performing said single simulation; and
updating a statevector with said measured quantum states of qubits of said simulated quantum circuit.

### Claim 11 (depends on 8)

The computer program product as recited in claim 8, wherein the program code further comprises the programming instructions for:
initializing a statevector for said plurality of shots of said quantum circuit; and
creating a new statevector for said identified subset of said plurality of shots.

### Claim 12 (depends on 11)

The computer program product as recited in claim 11, wherein said new statevector comprises a copy of said initialized statevector, wherein said new statevector comprises a listing of said identified subset of said plurality of shots.

### Claim 13 (depends on 12)

The computer program product as recited in claim 12, wherein the program code further comprises the programming instructions for:
measuring quantum states of qubits of said simulated quantum circuit for said identified subset of said plurality of shots after performing said single simulation; and
updating said new statevector with said measured quantum states of qubits of said simulated quantum circuit.

### Claim 14 (depends on 11)

The computer program product as recited in claim 11, wherein the program code further comprises the programming instructions for:
storing a list of shots comprising said identified subset of said plurality of shots in an out of memory list in response to a lack of memory for storing said created new statevector.

### Claim 15

A system, comprising:
a memory for storing a computer program for reducing a number of shots required to perform a noisy circuit simulation; and
a processor connected to said memory, wherein said processor is configured to execute program instructions of the computer program comprising:
applying a noise model to each shot of a plurality of shots of a quantum circuit which randomly selects a gate operation to be performed in simulating said quantum circuit;
identifying a subset of said plurality of shots with a selection of a same gate operation; and
performing a single simulation of said quantum circuit for said identified subset of said plurality of shots using said same gate operation.

### Claim 16 (depends on 15)

The system as recited in claim 15, wherein a plurality of subsets of said plurality of shots are identified, wherein each of said plurality of subsets of said plurality of shots utilizes a different gate operation selected by said noise model.

### Claim 17 (depends on 15)

The system as recited in claim 15, wherein the program instructions of the computer program further comprise:
measuring quantum states of qubits of said simulated quantum circuit for said identified subset of said plurality of shots after performing said single simulation; and
updating a statevector with said measured quantum states of qubits of said simulated quantum circuit.

### Claim 18 (depends on 15)

The system as recited in claim 15, wherein the program instructions of the computer program further comprise:
initializing a statevector for said plurality of shots of said quantum circuit; and
creating a new statevector for said identified subset of said plurality of shots.

### Claim 19 (depends on 18)

The system as recited in claim 18, wherein said new statevector comprises a copy of said initialized statevector, wherein said new statevector comprises a listing of said identified subset of said plurality of shots.

### Claim 20 (depends on 19)

The system as recited in claim 19, wherein the program instructions of the computer program further comprise:
measuring quantum states of qubits of said simulated quantum circuit for said identified subset of said plurality of shots after performing said single simulation; and
updating said new statevector with said measured quantum states of qubits of said simulated quantum circuit.
