QEC research

[🔗 link] — X 上的 James Wootton 5 years ago I spent most of the year on outreach, running a citizen science project based on quantum error correction. Seems like a good time to remaster the blog posts I wrote to explain QEC to anyone who'd listen. So here, rather predictably, is part 1 https://t.co/I9wYudwcgA
Quantum computers can be made fault tolerant using Quantum Error Correction (QEC), which protects quantum information by encoding logical qubits using data qubits and parity qubits. The data qubits collectively store the quantum information and the parity qubits are measured periodically to produce a syndrome, which is decoded by a classical decoder to identify the location and type of errors.
通过使用量子纠错(QEC),可以使量子计算机具有容错性,这通过使用数据量子比特和奇偶量子比特对逻辑量子比特进行编码来保护量子信息。数据量子比特集体存储量子信息,而奇偶量子比特则周期性地测量以产生综合症状,经由经典译码器解码以确定错误的位置和类型。
 
the number of logical qubits is given by the logarithm of the dimension of the codespace
 
logical operator methods:
lattice surgery and twist deformations
how to implement multi-qubit logical operators in the surface code
 
MWPM:
[1] Astrea
S. Vittal, P. Das, and M. Qureshi, “Astrea: Accurate Quantum Error-Decoding via Practical Minimum-Weight Perfect-Matching,” in Proceedings of the 50th Annual International Symposium on Computer Architecture, in ISCA ’23. New York, NY, USA: Association for Computing Machinery, Jun. 2023, pp. 1–16. doi: 10.1145/3579371.3589037.
 
To prevent errors from accumulating and causing a logical error, decoders must accurately identify errors in real-time, necessitating the use of hardware solutions because software decoders are slow. 为了避免错误积累并导致逻辑错误,解码器必须实时准确地识别错误,这就需要使用硬件解决方案,因为软件解码器速度较慢。
 
If the physical error-rate is lower than a certain threshold, then the error-rate of a logical qubit, or the logical error rate decreases exponentially with increasing redundancy or distance (𝑑) of the QEC code.
如果物理错误率低于某个阈值,则量子纠错码的冗余度或距离(𝑑)增加时,逻辑量子比特的错误率或逻辑错误率呈指数级下降。
 
 
 
 
 
 
 
QECC 2023-Quantum LDPC codes-曾威磊
Constant-Overhead Fault-Tolerant Quantum Computation with Reconfigurable Atom Arrays
 
Stim/doc/getting_started.ipynb at main · quantumlib/Stim
  1. Install the stim python package.
  1. Create a simple circuit, and sample from it.
  1. Add detector annotations to a circuit, and sample them.
  1. Generate example error correction circuits.
  1. Use pymatching to correct errors in a circuit.
  1. Estimate the threshold of a repetition code using Monte Carlo sampling.
  1. Use sinter to streamline the Monte Carlo sampling process.
  1. Estimate the threshold and footprint of a surface code.
 
error correction - Can you give an intuitive idea behind how the Minimum Weight Perfect Matching (MWPM) decoder work? - Quantum Computing Stack Exchange
 
 
notion image
MWPM(Minimum Weight Perfect Matching)decoder
notion image
we should use less total line length
here,the cost is the sum of the radii of these circles
 
notion image
 
♯P-complete - Wikipedia
fusion-blossom · PyPI
 
图的完美匹配是指一个无向图中的一组边,使得每个顶点都恰好与其中的一条边相连。换句话说,每个顶点都与图中的某一条边配对,且每条边都只与一个顶点配对。
具体来说,对于一个无向图 G=(V, E),其中 V 表示顶点的集合,E 表示边的集合。如果存在一个边的子集 M,满足下列条件,则称 M 为 G 的完美匹配:
  1. M 中的边都是 G 中的边;
  1. M 中的任意两条边互不相邻,即它们没有公共的顶点;
  1. M 中的边覆盖了 G 中的每个顶点,即每个顶点都与 M 中的某条边相连。
在一个完美匹配中,每个顶点都有且只有一条边与之相连,且所有的顶点都被匹配上了。
图的完美匹配在实际应用中有着广泛的应用,例如在计算机网络中路由算法、任务分配、稳定婚姻等问题中都可以使用完美匹配的概念和算法来解决。
 
 
QEC23 Program - Quantum at Sydney
XZZX surface code | Error Correction Zoo
MWPM decoder
 
[2310.11400] Autonomous quantum error correction of Gottesman-Kitaev-Preskill states
Page title...
ipam2023 | Nicolas Delfosse
 
 
yaleqc/qtcodes: Qiskit Topological Codes
qtcodes - qtcodes
Decodoku: Gaming for science!: 11 - Anyons in the Toric Code
 
Here's a tabular summary of the key concepts discussed in the blog post "The Stabilizer Trilogy II — Logical Operators":
Section
Concept
Description
Overview
Stabilizer Codes & Logical Operations
Introduction to logical operations in quantum computing, using stabilizer codes like the Steane code as examples. Focuses on unitary operators acting on physical qubits that allow transitions within the codespace.
Logical Qubits
Counting Logical Qubits
Explains how to count the number of logical qubits in a stabilizer code. It's based on the dimension of the codespace, with the number of logical qubits given by the logarithm of this dimension. The dimension of \\(\\mathcal{C}\\) for a stabilizer code is calculated using the formula \\(\\text{dim}(\\mathcal{C})=2^{n-m}\\), where n is the number of physical qubits and m is the number of generators of the stabilizer group.
Logical Gates
Definition and Properties of Logical Gates
Discusses logical gates as unitary operators that map the codespace to itself. These include stabilizers and operators that map one part of the codespace to another. For example, a logical Hadamard maps the logical zero state to the logical plus state. The post also explains the relation of logical gates to the stabilizer group, stating that a unitary L is a logical gate if and only if it maps the stabilizer group to itself.
This table encapsulates the main themes and concepts addressed in the blog post, providing a structured and visual summary of the content.
The stabilizer trilogy II — Logical operators | Arthur Pesah
The stabilizer trilogy III — Parity-check matrices and decoding | Arthur Pesah
 
The article you provided, "Suppressing Quantum Errors by Scaling a Surface Code Logical Qubit," discusses an advanced approach to quantum error correction (QEC) in the context of surface codes. One of the key ideas presented in the article that could be applicable to your project is the use of an error hypergraph for inferring error-corrected logical measurements. Here's a summary of the concept and how it might be applied to your project:
  1. Error Hypergraph: The article describes the creation of an error hypergraph to model physical error events in quantum systems. In this hypergraph:
      • Detectors are vertices: These represent points in the quantum system where error detection occurs.
      • Physical error mechanisms are hyperedges: These connect the detectors they trigger, representing the propagation of errors in the system.
      • Assigning Probabilities to Hyperedges: Each hyperedge in the hypergraph is assigned a probability corresponding to the error mechanism it represents. This probabilistic model is crucial for accurately predicting and correcting errors.
  1. Decoders Implementation: The article implements two types of decoders based on the error hypergraph:
      • Belief-Matching Decoder: This is an efficient combination of belief propagation and minimum-weight perfect matching. This decoder is likely faster but may trade off some accuracy for efficiency.
      • Tensor Network Decoding: Described as a slow but accurate approximate maximum-likelihood decoder. This method would be more computationally intensive but potentially more accurate in identifying and correcting errors.
  1. Application to Your Project:
      • The concept of an error hypergraph could be highly relevant if your project involves designing a decoder for a quantum error correction system.
      • The approach of using different types of decoders (belief-matching and tensor network decoding) provides a choice between speed and accuracy. Depending on the requirements of your project (e.g., real-time decoding vs. high-accuracy, offline analysis), you might choose one approach over the other.
      • The probabilistic modeling of errors, as represented in the hypergraph, can provide a more nuanced and accurate representation of errors in your quantum system, leading to more effective error correction strategies.
In summary, the ideas from this article can provide a framework for designing sophisticated and effective error correction in quantum computing systems, particularly when dealing with complex error patterns and the need for efficient decoding strategies.
你提供的文章《通过扩展表面码逻辑量子比特来抑制量子错误》讨论了在表面码背景下进行量子错误纠正(QEC)的先进方法。文章中提出的一个关键思想可能适用于你的项目,即使用错误超图来推断纠正错误的逻辑测量。以下是这个概念的概要以及如何将其应用到你的项目中:
  1. 错误超图:文章描述了创建错误超图来模拟量子系统中的物理错误事件。在这个超图中:
      • 探测器是顶点:它们代表量子系统中进行错误检测的点。
      • 物理错误机制是超边:它们连接触发它们的探测器,表示错误在系统中的传播。
      • 为超边分配概率:超图中的每个超边都被分配一个与其所代表的错误机制相对应的概率。这种概率模型对于准确预测和纠正错误至关重要。
  1. 解码器实现:文章实现了基于错误超图的两种类型的解码器:
      • Belief-Matching 解码器:这是置信传播和最小权重完美匹配的有效组合。这个解码器可能更快,但在效率上可能会牺牲一些准确性。
      • Tensor Network 解码:被描述为一种缓慢但准确的近似最大似然解码器。这种方法可能在识别和纠正错误方面更加精确,但计算成本更高。
  1. 应用到你的项目中
      • 错误超图的概念对于设计量子纠错系统的解码器可能非常相关。
      • 使用不同类型的解码器(belief-matching 和 tensor network 解码)的方法提供了在速度和准确性之间进行选择的机会。根据你的项目要求(例如实时解码与高准确性的离线分析),你可能会选择其中一种方法。
      • 在超图中表示的错误的概率建模可以更细致、准确地表示你的量子系统中的错误,从而带来更有效的错误纠正策略。
总之,这篇文章的思想可以为设计复杂的、有效的量子计算系统中的错误纠正提供框架,特别是在处理复杂错误模式和需要高效解码策略时。
The hyperedges connect the vertices they trigger and represent physical error mechanisms. Unlike standard graph edges that connect only two vertices, hyperedges can connect multiple vertices, reflecting the complex nature of quantum errors that might affect multiple qubits simultaneously.
超边连接它们触发的顶点,并表示物理错误机制。和标准图边只连接两个顶点不同,超边可以连接多个顶点,反映了可能同时影响多个量子比特的量子错误的复杂性质。
 
The article "Exponential Suppression of Bit or Phase Errors with Cyclic Error Correction" offers valuable insights for your project on quantum error correction, especially if you are dealing with the suppression of errors in quantum computing. Here are the key takeaways:
  1. Low Logical Error Rates: The primary goal in quantum computing is to achieve low logical error rates. The state-of-the-art quantum platforms have physical error rates near 10^-3, but many applications require much lower rates (as low as 10^-15). Quantum error correction (QEC) aims to bridge this gap by distributing quantum logical information across many physical qubits, allowing errors to be detected and corrected.
  1. Stabilizer Codes in QEC: The study discusses the use of stabilizer codes in QEC architectures. Logical qubits are encoded in the joint state of multiple physical qubits (data qubits). Additional physical qubits (measure qubits) are interlaced with data qubits for periodic parity measurements. These measurements turn perturbations in data qubit states into discrete errors that can be tracked and decoded to identify the most likely physical errors that occurred.
  1. Repetition and Surface Codes: The article describes the implementation of two stabilizer codes:
      • Repetition Code: In this 1D chain code, qubits alternate between measure and data qubits. It protects the logical qubit from either X or Z errors but not both.
      • Surface Code: This code follows a 2D checkerboard pattern of measure and data qubits, providing protection against both X and Z errors. The research shows that using repetition codes up to a certain distance can test for exponential error suppression.
  1. Decoding and Error Probability Determination: The study uses a minimum-weight perfect matching algorithm to decode detection events and determine logical error probabilities. This process involves correcting the final measured state of the data qubits in post-processing. The research demonstrates a significant decrease in logical error probability with increasing code size, highlighting the exponential nature of error reduction.
For your project, these findings are particularly relevant if you are exploring methods to suppress errors in quantum computing systems using surface codes or similar QEC strategies. The concepts of stabilizer codes, the implementation of repetition and surface codes, and the use of advanced decoding techniques like minimum-weight perfect matching algorithms can provide a robust framework for designing effective quantum error correction mechanisms.
文章《循环纠错对位或相位错误的指数抑制》为您在量子纠错项目中提供了宝贵的见解,特别是如果您正在处理量子计算中的错误抑制。以下是主要要点:
  1. 低逻辑错误率:量子计算的主要目标是实现低逻辑错误率。最先进的量子平台具有接近10^-3的物理错误率,但许多应用需要更低的错误率(低至10^-15)。量子纠错(QEC)通过在许多物理量子位上分布量子逻辑信息,允许检测和纠正错误,以弥合这一差距。
  1. QEC中的稳定器码:该研究讨论了在QEC架构中使用稳定器码。逻辑量子位被编码在多个物理量子位(数据量子位)的联合状态中。额外的物理量子位(测量量子位)与数据量子位交错,用于周期性奇偶校验测量。这些测量将数据量子位状态的扰动转化为可以跟踪和解码的离散错误,从而确定最有可能发生的物理错误。
  1. 重复码和面码:文章描述了两种稳定器码的实现:
      • 重复码:在这种1D链码中,量子位在测量量子位和数据量子位之间交替。它可以保护逻辑量子位免受X或Z错误的影响,但不能同时保护两者。
      • 面码:该码遵循2D棋盘格模式的测量量子位和数据量子位,可以防护X和Z错误。研究表明,使用重复码到一定距离可以进行指数级错误抑制的测试。
  1. 解码和错误概率确定:该研究使用最小权重完美匹配算法来解码检测事件并确定逻辑错误概率。该过程涉及在后处理中纠正数据量子位的最终测量状态。研究表明,随着编码尺寸的增加,逻辑错误概率显著减小,突显了错误减少的指数特性。
对于您的项目,如果您正在探索使用面码或类似的QEC策略来抑制量子计算系统中的错误,则这些发现尤为相关。稳定器码的概念,重复码和面码的实现,以及使用最小权重完美匹配算法等先进解码技术,可以为设计有效的量子纠错机制提供坚实的框架。
 
notion image
 
notion image
 
surface code lattice surgery in quantum computing
Decoders for Quantum Error Correction
 
Harvard Researchers' Breakthrough in Quantum Error Correction: A Discussion on Logical Qubits, Scalability, and Future Applications
 
Quantum Error Correction for Surface Codes using FPGA
accuracy analysis of quantum surface code decoding algorithms - SciSpace Literature Review
surface code decoding algorithm
transformer model for QEC
 
Landmark IBM error correction paper on Nature cover | IBM Research Blog
Comparing Qubit Measurement Feedback Times: Single vs. Multiple Controllers - Genspark
  • Giscus
quantum
literature base
video notes