-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.json
More file actions
32 lines (32 loc) · 1.21 KB
/
metadata.json
File metadata and controls
32 lines (32 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"id": "phase-flip-code",
"name": "Phase-Flip Error Correction Code",
"category": "error-correction",
"description": "3-qubit code that corrects single phase-flip (Z) errors by encoding in the X basis.",
"long_description": "The phase-flip code is the dual of the bit-flip code, operating in the X basis. A logical qubit is encoded as \u03b1|+++\u27e9 + \u03b2|---\u27e9 using CNOT + Hadamard. A Z error on any physical qubit flips the X-basis eigenvalue; the syndrome measurement detects and corrects it. This code cannot correct both bit and phase errors \u2014 that requires the Shor or Steane codes.",
"difficulty": "intermediate",
"qubit_count": 3,
"clbit_count": 1,
"gate_count": 11,
"depth": 7,
"tags": [
"error-correction",
"phase-flip",
"x-basis",
"fault-tolerant"
],
"circuit_formats": [
"qasm2"
],
"source_file": "circuit.qasm",
"expected_output": "c[0]=0 (logical |+\u27e9 decoded correctly despite Z error on q[1])",
"references": [
{
"title": "Nielsen & Chuang: Quantum Computation and Quantum Information, \u00a710.1",
"url": "https://doi.org/10.1017/CBO9780511976667"
}
],
"author": "OpenQC Community",
"license": "MIT",
"version": "1.0.0"
}