sahilfarib commited on
Commit
7622d93
·
verified ·
1 Parent(s): 3a9a0a2

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +186 -0
README.md ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: mit
5
+ size_categories:
6
+ - n<1K
7
+ task_categories:
8
+ - other
9
+ tags:
10
+ - quantum-computing
11
+ - quantum-noise
12
+ - error-mitigation
13
+ - NISQ
14
+ - IBM-Quantum
15
+ - transfer-learning
16
+ - few-shot-learning
17
+ - physics
18
+ pretty_name: "Quantum Noise Transfer: Cross-Device Few-Shot Adaptation"
19
+ dataset_info:
20
+ features:
21
+ - name: circuit_id
22
+ dtype: string
23
+ - name: backend
24
+ dtype: string
25
+ - name: circuit_type
26
+ dtype: string
27
+ - name: n_qubits
28
+ dtype: int32
29
+ - name: T1_mean
30
+ dtype: float64
31
+ - name: T2_mean
32
+ dtype: float64
33
+ - name: readout_error_mean
34
+ dtype: float64
35
+ - name: cx_error_mean
36
+ dtype: float64
37
+ - name: noisy_distribution
38
+ dtype: string
39
+ - name: ideal_distribution
40
+ dtype: string
41
+ - name: x
42
+ sequence: float64
43
+ - name: y
44
+ sequence: float64
45
+ splits:
46
+ - name: train
47
+ num_examples: 170
48
+ configs:
49
+ - config_name: default
50
+ data_files:
51
+ - split: train
52
+ path: data/train-00000-of-00001.parquet
53
+ ---
54
+
55
+ # Quantum Noise Transfer: Cross-Device Few-Shot Adaptation Dataset
56
+
57
+ [![arXiv](https://img.shields.io/badge/arXiv-2604.24397-b31b1b.svg)](https://arxiv.org/abs/2604.24397)
58
+
59
+ > **Paper:** [Few-Shot Cross-Device Transfer for Quantum Noise Modeling on Real Hardware](https://arxiv.org/abs/2604.24397)
60
+ >
61
+ > **Authors:** Sahil Al Farib, Sheikh Redwanul Islam, Azizur Rahman Anik
62
+
63
+ ## Dataset Description
64
+
65
+ A real-hardware quantum noise dataset collected from two IBM Quantum devices for studying cross-device transfer learning in quantum error mitigation. Each sample pairs a **noisy output distribution** (measured on real hardware) with the corresponding **ideal output distribution** (from noiseless simulation), augmented with device calibration features.
66
+
67
+ ### Source Devices
68
+
69
+ | Device | Role | Samples |
70
+ |:---|:---|:---:|
71
+ | `ibm_fez` | Source (Backend A) | 85 |
72
+ | `ibm_marrakesh` | Target (Backend B) | 85 |
73
+ | **Total** | | **170** |
74
+
75
+ ### Circuit Composition
76
+
77
+ | Circuit Type | Count | Purpose |
78
+ |:---|:---:|:---|
79
+ | Random | 40 | Structural diversity; generalization |
80
+ | Bell state | 15 | Two-qubit entanglement; CX error sensitivity |
81
+ | GHZ state | 15 | Multi-qubit entanglement; error accumulation |
82
+ | QFT | 15 | Layered gate accumulation; coherent errors |
83
+
84
+ All circuits use **2-5 qubits**, **depth 2-8**, and **8,192 shots** per execution.
85
+
86
+ ### Device Calibration Comparison
87
+
88
+ | Property | ibm_fez (A) | ibm_marrakesh (B) | Delta |
89
+ |:---|:---:|:---:|:---:|
90
+ | T1 (us) | 142.4 | 192.8 | +35.4% |
91
+ | T2 (us) | 104.1 | 114.0 | +9.6% |
92
+ | Readout error | 0.0285 | 0.0335 | +17.5% |
93
+ | CX gate error | 0.0328 | 0.0560 | **+70.7%** |
94
+
95
+ ## Dataset Fields
96
+
97
+ | Field | Type | Description |
98
+ |:---|:---|:---|
99
+ | `circuit_id` | string | Unique circuit identifier (UUID) |
100
+ | `backend` | string | IBM Quantum backend name (`ibm_fez` or `ibm_marrakesh`) |
101
+ | `circuit_type` | string | Circuit family: `random`, `bell`, `ghz`, or `qft` |
102
+ | `n_qubits` | int | Number of qubits (2-5) |
103
+ | `T1_mean` | float | Mean qubit relaxation time (seconds) |
104
+ | `T2_mean` | float | Mean qubit dephasing time (seconds) |
105
+ | `readout_error_mean` | float | Mean readout error rate |
106
+ | `cx_error_mean` | float | Mean CX (CNOT) gate error rate |
107
+ | `noisy_distribution` | string (JSON) | Measured probability distribution from real hardware |
108
+ | `ideal_distribution` | string (JSON) | Ground-truth distribution from noiseless simulation |
109
+ | `x` | list[float] | 41-dim input feature vector (circuit + calibration + noisy dist) |
110
+ | `y` | list[float] | 32-dim target vector (ideal distribution, zero-padded) |
111
+
112
+ ### Feature Vector (`x`) Layout (41 dimensions)
113
+
114
+ | Index | Feature |
115
+ |:---|:---|
116
+ | 0 | Number of qubits |
117
+ | 1 | Circuit depth |
118
+ | 2 | CX gate count |
119
+ | 3 | H gate count |
120
+ | 4 | X gate count |
121
+ | 5 | Mean T1 (standardized) |
122
+ | 6 | Mean T2 (standardized) |
123
+ | 7 | Mean readout error (standardized) |
124
+ | 8 | Mean CX gate error (standardized) |
125
+ | 9-40 | Noisy output distribution (32-dim, zero-padded) |
126
+
127
+ ## Additional Files
128
+
129
+ ```
130
+ figures/ # All paper figures (PNG + PDF)
131
+ data/raw/ # Raw data from IBM Quantum hardware
132
+ calibration_A.json # ibm_fez calibration snapshot
133
+ calibration_B.json # ibm_marrakesh calibration snapshot
134
+ circuit_meta.json # Circuit structure metadata
135
+ ideal.json # Ideal (simulated) distributions
136
+ noisy_A.json # Noisy measurements from ibm_fez
137
+ noisy_B.json # Noisy measurements from ibm_marrakesh
138
+ data/processed/ # Preprocessed datasets
139
+ dataset.json # Full dataset (JSON format)
140
+ dataset_standardized.json # Standardized features
141
+ results/ # Experiment results
142
+ experiment_results_fixed.json
143
+ ablation_results_fixed.json
144
+ training_history.json
145
+ example_prediction.json
146
+ ```
147
+
148
+ ## Usage
149
+
150
+ ```python
151
+ from datasets import load_dataset
152
+
153
+ ds = load_dataset("sahilfarib/quantum-noise-transfer")
154
+
155
+ # Filter by backend
156
+ source = ds["train"].filter(lambda x: x["backend"] == "ibm_fez")
157
+ target = ds["train"].filter(lambda x: x["backend"] == "ibm_marrakesh")
158
+
159
+ print(f"Source samples: {len(source)}") # 85
160
+ print(f"Target samples: {len(target)}") # 85
161
+ ```
162
+
163
+ ## Key Results
164
+
165
+ Using this dataset, a Residual Noise Adapter trained on `ibm_fez` achieves:
166
+
167
+ | Condition | KL Divergence | Improvement |
168
+ |:---|:---:|:---:|
169
+ | In-domain (A->A) | 0.3014 | -- |
170
+ | Zero-shot (A->B) | 1.6706 | baseline |
171
+ | Few-shot K=20 | **1.1924** | **-28.6%** |
172
+
173
+ ## Citation
174
+
175
+ ```bibtex
176
+ @article{farib2026fewshot,
177
+ title={Few-Shot Cross-Device Transfer for Quantum Noise Modeling on Real Hardware},
178
+ author={Farib, Sahil Al and Islam, Sheikh Redwanul and Anik, Azizur Rahman},
179
+ journal={arXiv preprint arXiv:2604.24397},
180
+ year={2026}
181
+ }
182
+ ```
183
+
184
+ ## License
185
+
186
+ MIT