# US 2022/0092454 A1 · Mixing techniques for probabilistic quantum circuits with fallback

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

- Number: US 2022/0092454 A1
- Document ID: US20220092454A1
- Status: Published application
- Kind: A1
- Application number: 17/030,610
- Filed: 2020-09-24
- Published: 2022-03-24
- Earliest claimed: 2020-09-24
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Vadym KLIUCHNIKOV; Adam PAETZNICK; Kristin Estella LAUTER
- Web page: https://patentgrep.com/patent/US20220092454A1

## CPC

- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- 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: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A low-cost solution for performing a quantum operation provides for defining a target unitary that rotates a single qubit by a target rotation to place the qubit in a target state. The method further provides for identifying multiple projective rotation circuits that each implement an approximation of the target rotation upon successful measurement and assigning a selection probability to each of the multiple identified projective rotation circuits, the selection probability being defined by a metric that increases in value in proportion to a proximity between a qubit state resulting from the approximation and the target qubit state. The method further provides for probabilistically selecting one of the multiple projective rotation circuits according to the assigned selection probabilities and outputting a circuit definition that includes the selected projective rotation circuit.

## Claims

### Claim 1

A method comprising:
defining a target unitary that rotates a qubit by a target rotation to place the qubit in a target state;
identifying multiple projective rotation circuits that each implement an approximation of the target rotation upon successful measurement;
assigning a selection probability to each of the multiple projective rotation circuits, the selection probability of each individual one of the projective rotation circuits increasing in proportion to a proximity between a qubit state resulting from the approximation and the target state;
according to the selection probability of each of the multiple projective rotation circuits, probabilistically selecting one of the multiple projective rotation circuits; and
outputting a circuit definition that includes the selected projective rotation circuit.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the multiple projective rotation circuits places the qubit in an undesired state upon unsuccessful measurement and the method further comprises:
for each one of the identified multiple projective rotation circuits, identifying a corresponding fallback rotation circuit approximating a correctional rotation that deterministically transforms the qubit from the undesired state to the target state.

### Claim 3 (depends on 2)

The method of claim 2 wherein the circuit definition includes the fallback rotation circuit identified for the selected projective rotation circuit.

### Claim 4 (depends on 3)

The method of claim 3, wherein the circuit definition provides for:
a projective rotation stage that executes the selected projective rotation circuit;
a measurement stage that performs a measurement of the qubit state at an output of the selected projective rotation circuit; and
a fallback stage that conditionally executes the fallback rotation circuit identified for the selected projective rotation circuit upon when the measurement is unsuccessful.

### Claim 5 (depends on 2)

The method of claim 2, further comprising:
constructing a quantum circuit based on the circuit definition, the quantum circuit being configured to:
provide a data qubit to the selected projective rotation circuit;
at an output of the selected projective rotation circuit, determine whether the data qubit is in the undesired state; and
if the data qubit is in the undesired state, provide the data qubit as input to the fallback rotation circuit corresponding to the selected projective rotation circuit.

### Claim 6 (depends on 1)

The method of claim 1, wherein identifying the multiple projective rotation circuits further comprises:
identifying a first projective rotation circuit that implements an over-rotation of the target rotation; and
identifying a second projective rotation circuit that implements an under-rotation of the target rotation.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
identifying a first fallback rotation circuit approximating a correctional rotation that deterministically transforms the qubit from a first undesired state to the target state, the first undesired state being a resulting state of the qubit upon execution and unsuccessful measurement of the first projective rotation circuit; and
identifying a second fallback rotation circuit approximating a correctional rotation that deterministically transforms the qubit from a second undesired state to the target state, the second undesired state being a resulting state of the qubit upon execution and unsuccessful measurement of the second projective rotation circuit.

### Claim 8 (depends on 7)

The method of claim 7, wherein the first projective rotation circuit, the second projective rotation circuit, the first fallback rotation circuit, and the second fallback rotation circuit comprise a circuit group and are selected to minimize a total cost associated with the circuit group.

### Claim 9 (depends on 8)

The method of claim 8, wherein the first projective rotation circuit, the second projective rotation circuit, the first fallback rotation circuit, and the second fallback rotation circuit are selected to cap a total approximation error associated with the group to within a predefined error margin.

### Claim 10

A system comprising:
memory;
a processor;
a quantum circuit compiler stored in memory and executable by the processor to:
define a target unitary that rotates a qubit by a target rotation to place the qubit in a target state;
identify multiple projective rotation circuits that each implement an approximation of the target rotation upon successful measurement;
assign a selection probability to each of the multiple projective rotation circuits, the selection probability of each individual one of the projective rotation circuits increasing in proportion to a proximity between a qubit state resulting from the approximation and the target state;
according to the selection probability of each of the multiple projective rotation circuits, probabilistically select one of the multiple projective rotation circuits; and
output a circuit definition that includes the selected projective rotation circuit.

### Claim 11 (depends on 10)

The system of claim 10, wherein each of the multiple projective rotation circuits places the qubit in an undesired state upon unsuccessful measurement and the quantum circuit compiler is further configured to:
for each one of the identified multiple projective rotation circuits, identify a corresponding fallback rotation circuit approximating a correctional rotation that deterministically transforms the qubit from the undesired state to the target state.

### Claim 12 (depends on 11)

The system of claim 11, wherein the circuit definition includes the fallback rotation circuit identified for the selected projective rotation circuit.

### Claim 13 (depends on 12)

The system of claim 12, wherein the circuit definition provides for:
a projective rotation stage that executes the selected projective rotation circuit;
a measurement stage that performs a measurement of the qubit state at an output of the selected projective rotation circuit; and
a fallback stage that conditionally executes the fallback rotation circuit identified for the selected projective rotation circuit upon when the measurement is unsuccessful.

### Claim 14 (depends on 11)

The system of claim 11, further comprising:
a quantum computer configured to construct a quantum circuit based on the circuit definition, the quantum circuit being configured to:
provide a data qubit to the selected projective rotation circuit;
at an output of the selected projective rotation circuit, determine whether the data qubit is in the undesired state; and
if the data qubit is in the undesired state, provide the data qubit as input to the fallback rotation circuit corresponding to the selected projective rotation circuit.

### Claim 15 (depends on 10)

The system of claim 10, wherein the quantum circuit compiler identifies the multiple projective rotation circuits by:
identifying a first projective rotation circuit that implements an over-rotation of the target rotation; and
identifying a second projective rotation circuit that implements an under-rotation of the target rotation.

### Claim 16 (depends on 15)

The system of claim 15, wherein the quantum circuit compiler is further configured to:
identify a first fallback rotation circuit approximating a correctional rotation that deterministically transforms the qubit from a first undesired state to the target state, the first undesired state being a resulting state of the qubit upon execution and unsuccessful measurement of the first projective rotation circuit; and
identify a second fallback rotation circuit approximating a correctional rotation that deterministically transforms the qubit from a second undesired state to the target state, the second undesired state being a resulting state of the qubit upon execution and unsuccessful measurement of the first projective rotation circuit.

### Claim 17 (depends on 16)

The system of claim 16, wherein the first projective rotation circuit, the second projective rotation circuit, the first fallback rotation circuit, and the second fallback rotation circuit are members of a circuit group and the quantum circuit compiler is further configured to select the members of the circuit group to minimize a total cost associated with the circuit group.

### Claim 18 (depends on 17)

The system of claim 17, wherein the quantum circuit compiler is further configured to select the first projective rotation circuit, the second projective rotation circuit, the first fallback rotation circuit, and the second fallback rotation circuit to cap a total approximation error associated with the group to within a predefined error margin.

### Claim 19

One or more tangible computer-readable storage media encoding computer-readable instructions for executing a computer process comprising:
defining a target unitary that rotates a qubit by a target rotation to place the qubit in a target state;
identifying a first projective rotation circuit that implements a first approximation of the target rotation upon successful measurement;
identifying a second projective rotation circuit that implements a second approximation of the target rotation upon successful measurement;
assigning a first selection probability to the first projective rotation circuit, the first selection probability increasing in proportion to a proximity between a qubit state resulting from the first approximation of the target state and the target state;
assigning a second selection probability to the second projective rotation circuit, the second selection probability increasing in proportion to a proximity between a qubit state resulting from the second approximation of the target state and the target state;
probabilistically selecting one of the first projective rotation circuit and the second projective rotation circuit based on the associated assigned selection probabilities; and
outputting a circuit definition that includes the selected projective rotation circuit.

### Claim 20 (depends on 19)

The one or more tangible computer-readable storage media of claim 19, wherein the computer process further comprises:
identifying a group of fallback circuits, the group including:
a first fallback rotation circuit approximating a correctional rotation that deterministically transforms the qubit from a first undesired state to the target state, the first undesired state being a resulting state of the qubit upon execution and unsuccessful measurement of the first projective rotation circuit; and
a second fallback rotation circuit approximating a correctional rotation that deterministically transforms the qubit from a second undesired state to the target state, the second undesired state being a resulting state of the qubit upon execution and unsuccessful measurement of the second projective rotation circuit,
wherein the circuit definition includes a member of the group of fallback circuits providing a correctional rotation associated with the selected projective rotation circuit.
