# US 2023/0409953 A1 · Auxiliary qubit verification in quantum circuits

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

- Number: US 2023/0409953 A1
- Document ID: US20230409953A1
- Status: Published application
- Kind: A1
- Application number: 17/752,282
- Filed: 2022-05-24
- Published: 2023-12-21
- Earliest claimed: 2022-05-24
- Assignees: Classiq Technologies Ltd.
- Applicants: Classiq Technologies LTD.
- Inventors: Eyal Cornfeld; Shmuel Ur; Ofek Kirzner
- Web page: https://patentgrep.com/patent/US20230409953A1

## CPC

- G06N 10/70: Quantum error correction, detection or prevention, e.g. surface codes or magic state distillation
- G06N 10/20: Models of quantum computing, e.g. quantum circuits or universal quantum computers
- G06N 3/126: Evolutionary algorithms, e.g. genetic algorithms or genetic programming
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 10/60: Quantum algorithms, e.g. based on quantum optimisation, quantum Fourier or Hadamard transforms
- G06N 10/80: Quantum programming, e.g. interfaces, languages or software-development kits for creating or handling programs capable of running on quantum computers; Platforms for simulating or accessing quantum computers, e.g. cloud-based quantum computing
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method, apparatus and product including obtaining a representation of a quantum circuit that manipulates a plurality of qubits over a plurality of cycles, wherein role indications of the plurality of qubits are not available; and detecting one or more robust qubits in the plurality of qubits. Each qubit of the one or more robust qubits comprises a dirty auxiliary qubit that is robust to quantum states of remaining qubits from the plurality of qubits. The detecting includes applying one or more initial states to the plurality of qubits using one or more quantum state setters, simulating the quantum circuit using a simulator, and inspecting states of the plurality of qubits from said simulating.

## Claims

### Claim 1

A method comprising:
obtaining a representation of a quantum circuit, wherein the quantum circuit manipulates a plurality of qubits over a plurality of cycles, wherein role indications of the plurality of qubits are not available; and
detecting one or more robust qubits in the plurality of qubits, wherein each qubit of the one or more robust qubits comprises a dirty auxiliary qubit that is robust to quantum states of remaining qubits from the plurality of qubits, wherein said detecting comprises:
applying one or more initial states to the plurality of qubits using one or more quantum state setters,
simulating the quantum circuit using a simulator, and
inspecting states of the plurality of qubits from said simulating.

### Claim 2 (depends on 1)

The method of claim 1, wherein said detecting comprises applying one or more inverse quantum state setters, wherein the one or more quantum state setters are operatively coupled to the plurality of qubits before being manipulated by the quantum circuit, wherein the one or more inverse quantum state setters are operatively coupled to the plurality of qubits after being manipulated by the quantum circuit, wherein the one or more inverse quantum state setters are configured to reverse the one or more initial states.

### Claim 3 (depends on 1)

The method of claim 1, wherein said detecting comprises generating a detecting quantum circuit, wherein the detecting quantum circuit comprises one or more additional qubits that are external of the quantum circuit, wherein the plurality of qubits excludes the one or more additional qubits.

### Claim 4 (depends on 3)

The method of claim 3, wherein said detecting comprises:
pairing the plurality of qubits to the one or more additional qubits, respectively, thereby obtaining a plurality of disjoint qubit pairs, and
applying, using the one or more quantum state setters, a maximally-entangled state to each of the plurality of qubit pairs.

### Claim 5 (depends on 1)

The method of claim 1, wherein said detecting comprises, iteratively:
selecting computational basis states for the plurality of qubits, respectively, and
applying, by the one or more quantum state setters, the computational basis states to each of the plurality of qubit pairs.

### Claim 6 (depends on 1)

The method of claim 1, wherein said detecting comprises generating a testing quantum circuit, wherein the testing quantum circuit is configured to obtain the quantum circuit and the role indications, and to verify unverified qubits that are indicated by the role indications as clean or dirty auxiliary qubits, wherein the testing quantum circuit is configured to perform said simulating and said inspecting.

### Claim 7 (depends on 6)

The method of claim 6 comprising iteratively executing the testing quantum circuit for one or more qubits of the plurality of qubits, wherein, in each iteration, the role indications are generated and provided to the testing quantum circuit by indicating that an inspected qubit of the one or more qubits is a dirty auxiliary qubit and that the remaining qubits of the plurality of qubits are argument qubits.

### Claim 8 (depends on 1)

The method of claim 1, wherein said inspecting comprises utilizing one of: a reduced density matrix and measurements.

### Claim 9 (depends on 1)

The method of claim 1 further comprising compiling the representation of the quantum circuit based on said detecting the one or more robust qubits.

### Claim 10 (depends on 1)

The method of claim 1, wherein said identifying is performed without iteratively checking each potential subgroup of the plurality of qubits individually.

### Claim 11 (depends on 1)

The method of claim 1, wherein the role indications comprise one or more auxiliary qubit indications indicating one or more unverified qubits within the plurality of qubits of the quantum circuit.

### Claim 12 (depends on 1)

The method of claim 1, wherein a qubit of the plurality of qubits is robust to the quantum states of the remaining qubits in case an auxiliary property is complied with by the qubit for each initial state of the plurality of qubits.

### Claim 13

An apparatus comprising a processor and coupled memory, said processor being adapted to:
obtain a representation of a quantum circuit, wherein the quantum circuit manipulates a plurality of qubits over a plurality of cycles, wherein role indications of the plurality of qubits are not available; and
detect one or more robust qubits in the plurality of qubits, wherein each qubit of the one or more robust qubits comprises a dirty auxiliary qubit that is robust to quantum states of remaining qubits from the plurality of qubits, wherein said detecting comprises:
applying one or more initial states to the plurality of qubits using one or more quantum state setters,
simulating the quantum circuit using a simulator, and
inspecting states of the plurality of qubits from said simulating.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein said detecting comprises applying one or more inverse quantum state setters, wherein the one or more quantum state setters are operatively coupled to the plurality of qubits before being manipulated by the quantum circuit, wherein the one or more inverse quantum state setters are operatively coupled to the plurality of qubits after being manipulated by the quantum circuit, wherein the one or more inverse quantum state setters are configured to reverse the one or more initial states.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein said detecting comprises generating a detecting quantum circuit, wherein the detecting quantum circuit is generated to comprise one or more additional qubits that are external of the quantum circuit, wherein the plurality of qubits excludes the one or more additional qubits.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein said detecting comprises:
pairing the plurality of qubits to the one or more additional qubits, respectively, thereby obtaining a plurality of disjoint qubit pairs, and
applying, using the one or more quantum state setters, a maximally-entangled state to each of the plurality of qubit pairs.

### Claim 17 (depends on 13)

The apparatus of claim 13, wherein said detecting comprises, iteratively:
selecting computational basis states for the plurality of qubits, respectively, and
applying, by the one or more quantum state setters, the computational basis states to each of the plurality of qubit pairs.

### Claim 18 (depends on 13)

The apparatus of claim 13, wherein said detecting comprises generating a testing quantum circuit, wherein the testing quantum circuit is configured to obtain the quantum circuit and the role indications, and to verify unverified qubits that are indicated by the role indications as clean or dirty auxiliary qubits, wherein the testing quantum circuit is configured to perform said simulating and said inspecting, wherein the processor is further adapted to iteratively execute the testing quantum circuit for one or more qubits of the plurality of qubits, wherein, in each iteration, the role indications are provided to the testing quantum circuit by indicating that an inspected qubit of the one or more qubits is a dirty auxiliary qubit and that the remaining qubits of the plurality of qubits are argument qubits.

### Claim 19 (depends on 13)

The apparatus of claim 13, wherein the processor is further adapted to compile the representation of the quantum circuit based on said detecting the one or more robust qubits.

### Claim 20

A computer program product comprising a non-transitory computer readable medium retaining program instructions, which program instructions, when read by a processor, cause the processor to:
obtain a representation of a quantum circuit, wherein the quantum circuit manipulates a plurality of qubits over a plurality of cycles, wherein role indications of the plurality of qubits are not available; and
detect one or more robust qubits in the plurality of qubits, wherein each qubit of the one or more robust qubits comprises a dirty auxiliary qubit that is robust to quantum states of remaining qubits from the plurality of qubits, wherein said detecting comprises:
applying one or more initial states to the plurality of qubits using one or more quantum state setters,
simulating the quantum circuit using a simulator, and
inspecting states of the plurality of qubits from said simulating.
