# US 2023/0267354 A1 · Measurement based uncomputation for quantum circuit optimization

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

- Number: US 2023/0267354 A1
- Document ID: US20230267354A1
- Status: Published application
- Kind: A1
- Application number: 18/137,278
- Filed: 2023-04-20
- Published: 2023-08-24
- Earliest claimed: 2019-03-29
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Craig Gidney
- Web page: https://patentgrep.com/patent/US20230267354A1

## 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
- G06F 7/4824: {using signed-digit representation}
- G06F 7/505: in bit-parallel fashion, i.e. having a different digit-handling circuit for each denomination
- G06F 7/5057: {using table look-up; using programmable logic arrays (G06F7/509 takes precedence)}
- G06F 7/72: using residue arithmetic
- G06F 17/10: Complex mathematical operations {(function generation by table look-up G06F1/03; evaluation of elementary functions by calculation G06F7/544)}
- 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
- G06N 10/70: Quantum error correction, detection or prevention, e.g. surface codes or magic state distillation
- G11C 11/4063: Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
- H04B 10/70: Photonic quantum communication
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- H04B: TRANSMISSION

## Abstract

Methods and apparatus for optimizing a quantum circuit. In one aspect, a method includes identifying one or more sequences of operations in the quantum circuit that un-compute respective qubits on which the quantum circuit operates; generating an adjusted quantum circuit, comprising, for each identified sequence of operations in the quantum circuit, replacing the sequence of operations with an X basis measurement and a classically-controlled phase correction operation, wherein a result of the X basis measurement acts as a control for the classically-controlled correction phase operation; and executing the adjusted quantum circuit.

## Claims

### Claim 1

A method performed by quantum computing hardware, the method comprising:
measuring a qubit to obtain a measurement result; and
performing a classically-controlled phase correction operation on the qubit to put the qubit in a zero state, wherein the measurement result acts as a control for the classically-controlled phase correction operation.

### Claim 2 (depends on 1)

The method of claim 1, wherein measuring the qubit to obtain the measurement result comprises measuring the qubit in an X basis.

### Claim 3 (depends on 2)

The method of claim 2, wherein performing the classically-controlled phase correction operation on the qubit comprises applying a Z gate to the qubit, wherein the Z gate is conditioned on a result of measuring the qubit in the X basis.

### Claim 4 (depends on 1)

The method of claim 1, further comprising performing, using a plurality of qubits that include the qubit, a quantum computation, wherein the qubit is measured and the classically-controlled phase correction operation is performed in-line during the performing of the quantum computation.

### Claim 5 (depends on 4)

The method of claim 4, wherein the measured qubit is provided for use in other operations included in the quantum computation.

### Claim 6

An apparatus comprising quantum computing hardware in data communication with one or more classical processors, wherein the quantum computing hardware is configured to perform operations comprising:
measuring a qubit to obtain a measurement result; and
performing a classically-controlled phase correction operation on the qubit to put the qubit in a zero state, wherein the measurement result acts as a control for the classically-controlled phase correction operation.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein measuring the qubit to obtain the measurement result comprises measuring the qubit in an X basis.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein performing the classically-controlled phase correction operation on the qubit comprises applying a Z gate to the qubit, wherein the Z gate is conditioned on a result of measuring the qubit in the X basis.

### Claim 9 (depends on 6)

The apparatus of claim 6, wherein the operations further comprise performing, using a plurality of qubits that include the qubit, a quantum computation, wherein the qubit is measured and the classically-controlled phase correction operation is performed during the performing of the quantum computation.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the measured qubit is provided for use in other operations included in the quantum computation.

### Claim 11 (depends on 6)

The apparatus of claim 6, wherein the quantum computing hardware comprises:
a plurality of qubits;
a plurality of control lines coupled to the plurality of qubits; and
a plurality of control circuits coupled to the plurality of control lines, the plurality of control circuits configured to execute the operations.
