# US 2025/0165838 A1 · Fault-Tolerant Post-Selection for Logical Qubit Preparation

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

- Number: US 2025/0165838 A1
- Document ID: US20250165838A1
- Status: Published application
- Kind: A1
- Application number: 18/496,318
- Filed: 2023-10-27
- Published: 2025-05-22
- Earliest claimed: 2022-10-28
- Assignees: Psiquantum, Corp.
- Applicants: PsiQuantum, Corp.
- Inventors: Karthik SEETHARAM; Sam ROBERTS; Hector Bombin PALOMO
- Web page: https://patentgrep.com/patent/US20250165838A1

## 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: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems and methods for performing fault-tolerant post-selection (FTPS) on an encoded logical qubit. An FTPS controller receives syndrome graph data related to an encoded logical qubit. The encoded logical qubit includes a plurality of physical qubits encoded with a quantum error correcting code. The FTPS controller determines a respective magnitude for one or more logical gaps from the syndrome graph data, and determines an error metric based on the magnitudes of the logical gaps. The error metric is compared to a quality threshold, and depending on whether the quality threshold is met, the FTPS controller provides instructions to a quantum computing system to either keep or discard the logical qubit.

## Claims

### Claim 1

A method, comprising:
receiving syndrome graph data of a logical qubit, wherein the logical qubit comprises a first resource state prepared in a magic state and a plurality of second resource states encoded with the first resource state;
determining at least one logical gap magnitude based at least in part on the syndrome graph data;
determining an error metric of the logical qubit based at least in part on the at least one logical gap magnitude;
determining whether the error metric satisfies a quality threshold; and
based on whether the error metric satisfies the quality threshold, providing instructions to discard the logical qubit or input the logical qubit into a magic state distillation process.

### Claim 2 (depends on 1)

The method of claim 1,
wherein the logical gap magnitude comprises a magnitude of a difference in a first weight of a first correction of the syndrome graph data and a second weight of a second correction of the syndrome graph data.

### Claim 3 (depends on 2)

The method of claim 2,
wherein the first and second weights comprise log-likelihood weights.

### Claim 4 (depends on 2)

The method of claim 2,
wherein the first and second weights comprise a weighted summation over corrected edges of the first and second correction, respectively, and
wherein the weighted summation is weighted based at least in part on respective graph distances of the corrected edges from the first resource state, wherein shorter graph distances are granted a larger weight than longer graph distances.

### Claim 5 (depends on 4)

The method of claim 4,
wherein the weighted summation is truncated for graph distances greater than a predetermined fraction of a total graph length of the logical qubit.

### Claim 6 (depends on 4)

The method of claim 4,
wherein the weighted summation is weighted with a factor comprising the respective graph distance raised to a power of a tunable parameter, a.

### Claim 7 (depends on 1)

The method of claim 1,
wherein the logical qubit is encoded using fusion-based quantum computing which performs a sequence of fusion measurements on the first resource state and the plurality of second resource states.

### Claim 8 (depends on 1)

The method of claim 1,
wherein the at least one logical gap magnitude comprises a respective logical gap magnitude for each logical error class of a set of distinct logical error classes of the syndrome graph data.

### Claim 9 (depends on 8)

The method of claim 8,
wherein the error metric comprises a summation over the set of distinct logical error classes of a decaying exponential function of the respective magnitudes of the respective logical gaps.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
determining a second error metric based at least in part on a weighted summation over syndrome error densities that is weighted based on graph distances of respective syndrome errors from the first resource state;
determining whether the second error metric satisfies a second quality threshold; and
based on a determination that the second error metric satisfies the second quality threshold, inputting the logical qubit into the magic state distillation process.

### Claim 11

A non-transitory computer-readable memory medium storing program instructions which, when executed by a processor, cause a quantum computing system to:
determine an error metric from syndrome graph data of a logical block, wherein the logical block comprises a plurality of encoded physical qubits;
determine whether the error metric satisfies a quality threshold; and
based on whether the error metric satisfies the quality threshold, provide instructions to discard the logical block or input the logical block into a quantum computing computation.

### Claim 12 (depends on 11)

The non-transitory computer-readable memory medium of claim 11,
wherein the error metric is determined based at least in part on a logical gap magnitude of the syndrome graph data.

### Claim 13 (depends on 12)

The non-transitory computer-readable memory medium of claim 12,
wherein the logical gap comprises a difference in log-likelihood weights between a first and second correction of the syndrome graph data.

### Claim 14 (depends on 11)

The non-transitory computer-readable memory medium of claim 11,
wherein the plurality of encoded physical qubits comprises a plurality of resource states encoded using fusion-based quantum computing.

### Claim 15 (depends on 11)

The non-transitory computer-readable memory medium of claim 11,
wherein the syndrome graph data comprises information related to one or more syndromes and one or more erasures of a syndrome graph of the logical block,
wherein the error metric is determined based at least in part on the one or more syndromes and the one or more erasures.

### Claim 16

A controller, comprising:
a non-transitory computer-readable memory medium;
a switch coupled to a logical qubit generator; and
one or more processors coupled to the memory medium, wherein the processor is configured to execute program instructions to:
receive syndrome graph data of a logical qubit, wherein the logical qubit comprises a first physical qubit prepared in a magic state and a plurality of second physical qubits encoded with the first physical qubit;
determine at least one logical gap magnitude based at least in part on the syndrome graph data;
determine an error metric of the logical qubit based at least in part on the magnitude of the logical gaps;
determine whether the error metric satisfies a quality threshold; and
based on a determination that the error metric satisfies the quality threshold, toggle the switch to provide the logical qubit to a buffer for provision into a magic state distillation process.

### Claim 17 (depends on 16)

The controller of claim 16,
wherein the logical gap magnitude comprises a magnitude of a difference in a first weight of a first correction of the syndrome graph data and a second weight of a second correction of the syndrome graph data.

### Claim 18 (depends on 17)

The controller of claim 17,
wherein the first and second weights comprise a weighted summation over corrected edges of the first and second correction, respectively, and
wherein the weighted summation is weighted based at least in part on respective graph distances of the corrected edges from the first resource state, wherein shorter graph distances are granted a larger weight than longer graph distances.

### Claim 19 (depends on 16)

The controller of claim 16, wherein the program instructions are further executable by the processor to cause the controller to:
based on a determination that the error metric does not satisfy the quality threshold, toggle the switch to discard the logical qubit.

### Claim 20 (depends on 16)

The controller of claim 16, further comprising:
a flush switch, wherein the program instructions are further executable by the processor to cause the controller to:
determine that a threshold number of logical qubits of a cycle have not satisfied the quality threshold; and
based on the determination that the threshold number of logical qubits of the cycle have not satisfied the quality threshold, toggle the flush switch to discard all logical qubits of the cycle.
