# US 2021/0287125 A1 · Efficient synthesis of a random uniformly distributed clifford unitary

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

- Number: US 2021/0287125 A1
- Document ID: US20210287125A1
- Status: Published application
- Kind: A1
- Application number: 16/810,553
- Filed: 2020-03-05
- Published: 2021-09-16
- Earliest claimed: 2020-03-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Dmitri Maslov; Sergey Bravyi
- Web page: https://patentgrep.com/patent/US20210287125A1

## CPC

- G06N 10/20: Models of quantum computing, e.g. quantum circuits or universal quantum computers
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of generating a random uniformly distributed Clifford unitary circuit (C) includes: generating a random Hadamard (H) gate; drawing a plurality of qubits from a probability distribution of qubits; applying the random H gate to the plurality of qubits drawn from the probability distribution; and generating randomly a first Hadamard-free Clifford circuit (F1) and a second Hadamard-free Clifford circuit (F2). The first and second Hadamard-free Clifford circuits is generated by at least randomly generating a uniformly distributed phase (P) gate, and randomly generating a uniformly distributed linear Boolean invertible conditional NOT (CNOT) gate, and combining the P and CNOT gates to form the first and second Hadamard-free Clifford circuits. The method further includes combining the generated first Hadamard-free circuit (F1) and the second Hadamard-free Clifford circuit (F2) with the generated random Hadamard (H) gate to form the random uniformly distributed Clifford unitary circuit (C).

## Claims

### Claim 1

A method of generating a random uniformly distributed Clifford unitary circuit (C) comprising:
generating a random Hadamard (H) gate;
drawing a plurality of qubits from a probability distribution of qubits;
applying the random H gate to the plurality of qubits drawn from the probability distribution;
generating randomly a first Hadamard-free Clifford circuit (F1) and a second Hadamard-free Clifford circuit (F2), wherein each of the first and second Hadamard-free Clifford circuits is generated by at least randomly generating a uniformly distributed phase (P) gate, and randomly generating a uniformly distributed linear Boolean invertible conditional NOT (CNOT) gate, and combining the P and CNOT gates to form the first and second Hadamard-free Clifford circuits; and
combining the generated first Hadamard-free Clifford circuit (F1) and the second Hadamard-free Clifford circuit (F2) with the generated random Hadamard (H) gate to form the random uniformly distributed Clifford unitary circuit (C).

### Claim 2 (depends on 1)

The method according to claim 1, wherein the first and second Hadamard-free Clifford circuits are different from each other.

### Claim 3 (depends on 1)

The method according to claim 1, wherein generating randomly the first Hadamard-free Clifford circuit (F1) and the second Hadamard-free Clifford circuit (F2) comprises randomly generating the uniformly distributed phase (P) gate, randomly generating the uniformly distributed linear Boolean invertible conditional NOT (CNOT) gate, and randomly generating a uniformly distributed conditional rotation around axis-Z (CZ) gate, and combining the P, CZ, and CNOT gates to form the first and second Hadamard-free Clifford circuits.

### Claim 4 (depends on 3)

The method according to claim 3, wherein generating the CZ gate comprises generating the CZ gate from a plurality of random qubits.

### Claim 5 (depends on 4)

The method according to claim 4, wherein generating the CZ gate from the plurality of random qubits comprises generating the CZ gate from a (n−1) n/2-tuple of random qubits, wherein n is greater than or equal to 2.

### Claim 6 (depends on 1)

The method according to claim 1, wherein generating the uniformly distributed phase (P) gate comprises generating the P gate from a plurality of random qubits.

### Claim 7 (depends on 6)

The method according to claim 6, wherein generating the P gate from the plurality of random qubits comprises generating the P gate from a 2n-tuple random qubits, where n is an integer greater than or equal to 2.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the P gate corresponds to a diagonal matrix having 1 or imaginary number i as diagonal elements and 0 everywhere else.

### Claim 9 (depends on 1)

The method according to claim 1, wherein generating the uniformly distributed linear Boolean invertible conditional NOT (CNOT) gate comprises:
generating a lower triangular random matrix having random qubits 0 and/or 1;
generating an upper triangular random matrix having random qubits 0 and/or 1; and
multiplying the lower triangular random matrix and the upper triangular random matrix to generate the uniformly distributed linear Boolean invertible CNOT gate.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the first Hadamard-free Clifford circuit F1 is equal to a product P1.CZ1.CNOT1 and the second Hadamard-free Clifford circuit F2 is equal to a product P2.CZ2.CNOT2 so that F1 is different from F2.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the random uniformly distributed Clifford unitary circuit C is equal to F1.H.F2, wherein F1 is the first Hadamard-free Clifford circuit, F2 is the second Hadamard-free Clifford circuit, and H is the Hadamard gate.

### Claim 12 (depends on 1)

The method according to claim 1, wherein drawing the plurality of qubits from the probability distribution of qubits comprises drawing the plurality of qubits from the following probability distribution Pr(k):
Pr
⁡
(
k
)
=
2
k
⁡
(
k
+
1
)
/
2
⁢
Π
j
=
1
n
⁡
(
2
j
-
1
)
⁢
(
2
j
+
1
)
-
1
Π
j
=
1
k
⁡
(
2
j
-
1
)
⁢
Π
j
=
1
n
-
k
⁡
(
2
j
-
1
)
wherein k is a sub-plurality of qubits selected from a plurality of qubits n such that k=0, 1, . . . , n, and j is a local variable in this equation.

### Claim 13 (depends on 1)

The method according to claim 1, wherein a computational complexity of generating the random uniformly distributed Clifford unitary circuit (C) grows quadratically with a number of the plurality of qubits.

### Claim 14 (depends on 1)

The method according to claim 1, further comprising providing the random uniformly distributed Clifford unitary circuit to a quantum mechanical circuit to measure noise in the quantum mechanical circuit.

### Claim 15

A computer readable medium on which is stored non-transitory computer-executable code, which when executed by a classical computer causes a quantum computer to:
generate a random Hadamard (H) gate;
draw a plurality of qubits from a probability distribution of qubits;
apply the random H gate to the plurality of qubits drawn from the probability distribution;
generate randomly a first Hadamard-free Clifford circuit (F1) and a second Hadamard-free Clifford circuit (F2), wherein each of the first and second Hadamard-free Clifford circuits is generated by at least randomly generating a uniformly distributed phase (P) gate, and randomly generating a uniformly distributed linear Boolean invertible conditional NOT (CNOT) gate, and combining the P and CNOT gates to form the first and second Hadamard-free Clifford circuits; and
combine the generated first Hadamard-free Clifford circuit (F1) and the second Hadamard-free Clifford circuit (F2) with the generated random Hadamard (H) gate to form the random uniformly distributed Clifford unitary circuit (C).

### Claim 16 (depends on 15)

The computer readable medium according to claim 15, wherein the first and second Hadamard-free Clifford circuits are different from each other.

### Claim 17 (depends on 15)

The computer readable medium according to claim 15, wherein when the non-transitory computer-executable code is executed by the classical computer further causes the quantum computer to randomly generate the uniformly distributed phase (P) gate, randomly generate the uniformly distributed linear Boolean invertible conditional NOT (CNOT) gate, and randomly generate a uniformly distributed conditional rotation around axis-Z (CZ) gate, and combine the P, CZ, and CNOT gates to form the first and second Hadamard-free Clifford circuits.

### Claim 18 (depends on 15)

The computer readable medium according to claim 15, wherein when the non-transitory computer-executable code is executed by the classical computer further causes the quantum computer to:
generate a lower triangular random matrix having random qubits 0 and/or 1;
generate an upper triangular random matrix having random qubits 0 and/or 1; and
multiply the lower triangular random matrix and the upper triangular random matrix to generate the uniformly distributed linear Boolean invertible CNOT gate.

### Claim 19 (depends on 15)

The computer readable medium according to claim 15, wherein a computational complexity of forming the random uniformly distributed Clifford unitary circuit (C) grows quadratically with a number of the plurality of qubits.

### Claim 20

A classical computer configured to execute a non-transitory computer-executable code, the code when executed by the classical computer causes a quantum computer to:
generate a random Hadamard (H) gate;
draw a plurality of qubits from a probability distribution of qubits;
apply the random H gate to the plurality of qubits drawn from the probability distribution;
generate randomly a first Hadamard-free Clifford circuit (F1) and a second Hadamard-free Clifford circuit (F2), wherein each of the first and second Hadamard-free Clifford circuits is generated by randomly generating a uniformly distributed phase (P) gate, and randomly generating a uniformly distributed linear Boolean invertible conditional NOT (CNOT) gate, and combining the P and CNOT gates to form the first and second Hadamard-free Clifford circuits; and
combine the generated first Hadamard-free Clifford circuit (F1) and the second Hadamard-free Clifford circuit (F2) with the generated random Hadamard (H) gate to form the random uniformly distributed Clifford unitary circuit (C).
