Commit ·
b19d0f2
0
Parent(s):
Duplicate from phanerozoic/qiskit-calibration-drift
Browse filesCo-authored-by: Charles Norton <phanerozoic@users.noreply.huggingface.co>
- .gitattributes +59 -0
- README.md +211 -0
- data/train-00000-of-00001.parquet +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
# Audio files - uncompressed
|
| 39 |
+
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
# Audio files - compressed
|
| 43 |
+
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
# Image files - uncompressed
|
| 49 |
+
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
# Image files - compressed
|
| 54 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
# Video files - compressed
|
| 58 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
+
*.webm filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,211 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- time-series-forecasting
|
| 5 |
+
- tabular-classification
|
| 6 |
+
tags:
|
| 7 |
+
- quantum-computing
|
| 8 |
+
- IBM-Quantum
|
| 9 |
+
- calibration
|
| 10 |
+
- hardware-characterization
|
| 11 |
+
- drift-analysis
|
| 12 |
+
- qiskit
|
| 13 |
+
- space-weather
|
| 14 |
+
- cosmic-rays
|
| 15 |
+
pretty_name: IBM Quantum Calibration Drift
|
| 16 |
+
size_categories:
|
| 17 |
+
- 1K<n<10K
|
| 18 |
+
configs:
|
| 19 |
+
- config_name: default
|
| 20 |
+
data_files:
|
| 21 |
+
- split: train
|
| 22 |
+
path: data/train-*
|
| 23 |
+
dataset_info:
|
| 24 |
+
features:
|
| 25 |
+
- name: backend
|
| 26 |
+
dtype: string
|
| 27 |
+
- name: qubit
|
| 28 |
+
dtype: int64
|
| 29 |
+
- name: property
|
| 30 |
+
dtype: string
|
| 31 |
+
- name: value
|
| 32 |
+
dtype: float64
|
| 33 |
+
- name: calibrated_time
|
| 34 |
+
dtype: string
|
| 35 |
+
- name: observed_time
|
| 36 |
+
dtype: string
|
| 37 |
+
- name: location
|
| 38 |
+
dtype: string
|
| 39 |
+
- name: latitude
|
| 40 |
+
dtype: float64
|
| 41 |
+
- name: longitude
|
| 42 |
+
dtype: float64
|
| 43 |
+
- name: solar_zenith_deg
|
| 44 |
+
dtype: float64
|
| 45 |
+
- name: temperature_c
|
| 46 |
+
dtype: float64
|
| 47 |
+
- name: pressure_hpa
|
| 48 |
+
dtype: float64
|
| 49 |
+
- name: humidity_pct
|
| 50 |
+
dtype: float64
|
| 51 |
+
- name: kp_index
|
| 52 |
+
dtype: float64
|
| 53 |
+
- name: solar_flux_sfu
|
| 54 |
+
dtype: float64
|
| 55 |
+
- name: dst_nt
|
| 56 |
+
dtype: float64
|
| 57 |
+
- name: bz_gsm_nt
|
| 58 |
+
dtype: float64
|
| 59 |
+
- name: neutron_flux
|
| 60 |
+
dtype: float64
|
| 61 |
+
splits:
|
| 62 |
+
- name: train
|
| 63 |
+
num_bytes: 30865256
|
| 64 |
+
num_examples: 155368
|
| 65 |
+
download_size: 1065305
|
| 66 |
+
dataset_size: 30865256
|
| 67 |
+
---
|
| 68 |
+
|
| 69 |
+
# IBM Quantum Calibration Drift Dataset
|
| 70 |
+
|
| 71 |
+
Continuously-updated calibration data from IBM Quantum hardware with concurrent environmental measurements. Enables correlation analysis between qubit performance and atmospheric/space weather conditions.
|
| 72 |
+
|
| 73 |
+
## Overview
|
| 74 |
+
|
| 75 |
+
| Property | Value |
|
| 76 |
+
|----------|-------|
|
| 77 |
+
| Update frequency | Every 30 minutes |
|
| 78 |
+
| Backends | ibm_fez (156 qubits), ibm_torino (133 qubits), ibm_marrakesh (156 qubits) |
|
| 79 |
+
| Total qubits | 445 |
|
| 80 |
+
| Collection method | Automated polling via GitHub Actions |
|
| 81 |
+
| Calibration source | IBM Quantum Runtime API |
|
| 82 |
+
| Weather source | NWS API (NOAA) |
|
| 83 |
+
| Space weather source | SWPC (NOAA) |
|
| 84 |
+
|
| 85 |
+
## Schema
|
| 86 |
+
|
| 87 |
+
| Field | Type | Description |
|
| 88 |
+
|-------|------|-------------|
|
| 89 |
+
| `backend` | string | Backend identifier |
|
| 90 |
+
| `qubit` | int | Qubit index (0 to N-1), or -1 for two-qubit gate data |
|
| 91 |
+
| `property` | string | Calibration property name |
|
| 92 |
+
| `value` | float | Measured value |
|
| 93 |
+
| `calibrated_time` | string | IBM calibration timestamp (UTC) |
|
| 94 |
+
| `observed_time` | string | Collection timestamp (UTC ISO) |
|
| 95 |
+
| `location` | string | Data center location identifier |
|
| 96 |
+
| `latitude` | float | Data center latitude |
|
| 97 |
+
| `longitude` | float | Data center longitude |
|
| 98 |
+
| `solar_zenith_deg` | float | Solar zenith angle (>90° = night) |
|
| 99 |
+
| `temperature_c` | float | Local temperature (°C) |
|
| 100 |
+
| `pressure_hpa` | float | Barometric pressure (hPa) |
|
| 101 |
+
| `humidity_pct` | float | Relative humidity (%) |
|
| 102 |
+
| `kp_index` | float | Planetary K-index (0-9, geomagnetic activity) |
|
| 103 |
+
| `solar_flux_sfu` | float | 10.7cm solar radio flux (SFU) |
|
| 104 |
+
| `dst_nt` | float | Dst index (nT, ring current strength) |
|
| 105 |
+
| `bz_gsm_nt` | float | IMF Bz component (nT, negative = geo-coupling) |
|
| 106 |
+
| `neutron_flux` | float | Cosmic ray proxy (Newark, DE monitor) |
|
| 107 |
+
|
| 108 |
+
### Important: Timestamp Interpretation
|
| 109 |
+
|
| 110 |
+
This dataset contains two timestamp fields with very different meanings:
|
| 111 |
+
|
| 112 |
+
- **`calibrated_time`** — When IBM last calibrated that specific property. These timestamps can span months because IBM does not recalibrate all properties simultaneously. Some properties (like T1/T2) may retain calibration timestamps from weeks or months ago.
|
| 113 |
+
|
| 114 |
+
- **`observed_time`** — When the poller actually collected the record. This reflects the true data collection period.
|
| 115 |
+
|
| 116 |
+
For time-series analysis, use `observed_time`. The `calibrated_time` span reflects IBM's stale cache, not the collection period.
|
| 117 |
+
|
| 118 |
+
### Calibration Properties
|
| 119 |
+
|
| 120 |
+
**Per-qubit:**
|
| 121 |
+
- `T1` — Relaxation time (seconds)
|
| 122 |
+
- `T2` — Dephasing time (seconds)
|
| 123 |
+
- `readout_error` — Measurement error probability
|
| 124 |
+
- `prob_meas0_prep1` — P(measure 0 | prepared 1)
|
| 125 |
+
- `prob_meas1_prep0` — P(measure 1 | prepared 0)
|
| 126 |
+
- `sx_error` — SX gate error (native single-qubit gate)
|
| 127 |
+
|
| 128 |
+
**Per-edge:**
|
| 129 |
+
- `cz_error_{i}_{j}` — Two-qubit CZ gate error for edge (i, j)
|
| 130 |
+
|
| 131 |
+
### Environmental Fields
|
| 132 |
+
|
| 133 |
+
**Solar position:**
|
| 134 |
+
- `solar_zenith_deg` — Sun angle from vertical (0°=overhead, 90°=horizon, >90°=night)
|
| 135 |
+
|
| 136 |
+
**Weather (local to data center):**
|
| 137 |
+
- `temperature_c` — Ambient temperature
|
| 138 |
+
- `pressure_hpa` — Barometric pressure (correlates with cosmic ray flux attenuation)
|
| 139 |
+
- `humidity_pct` — Relative humidity
|
| 140 |
+
|
| 141 |
+
**Space weather (global):**
|
| 142 |
+
- `kp_index` — Geomagnetic storm indicator (0=quiet, 9=severe storm)
|
| 143 |
+
- `solar_flux_sfu` — Solar activity proxy (higher = more active sun)
|
| 144 |
+
- `dst_nt` — Ring current strength (< -50 nT = storm, < -100 nT = severe)
|
| 145 |
+
- `bz_gsm_nt` — Interplanetary magnetic field z-component (negative = geomagnetic coupling)
|
| 146 |
+
- `neutron_flux` — Cosmic ray flux from Newark, DE monitor (pressure-corrected)
|
| 147 |
+
|
| 148 |
+
## Data Center Locations
|
| 149 |
+
|
| 150 |
+
| Location ID | Coordinates | Backends |
|
| 151 |
+
|-------------|-------------|----------|
|
| 152 |
+
| yorktown_heights_ny | 41.27°N, 73.78°W | ibm_torino, ibm_fez, ibm_marrakesh |
|
| 153 |
+
|
| 154 |
+
## Usage
|
| 155 |
+
|
| 156 |
+
```python
|
| 157 |
+
from datasets import load_dataset
|
| 158 |
+
|
| 159 |
+
ds = load_dataset("phanerozoic/qiskit-calibration-drift", split="train")
|
| 160 |
+
|
| 161 |
+
# Filter by backend
|
| 162 |
+
torino = ds.filter(lambda x: x["backend"] == "ibm_torino")
|
| 163 |
+
|
| 164 |
+
# Correlation analysis: T1 vs pressure
|
| 165 |
+
t1_data = ds.filter(lambda x: x["property"] == "T1")
|
| 166 |
+
df = t1_data.to_pandas()
|
| 167 |
+
correlation = df["value"].corr(df["pressure_hpa"])
|
| 168 |
+
|
| 169 |
+
# Filter by space weather conditions
|
| 170 |
+
storm_data = ds.filter(lambda x: x["kp_index"] >= 5)
|
| 171 |
+
```
|
| 172 |
+
|
| 173 |
+
## Research Applications
|
| 174 |
+
|
| 175 |
+
- **Cosmic ray correlation**: Barometric pressure modulates atmospheric shielding against cosmic rays, which cause quasiparticle poisoning in superconducting qubits.
|
| 176 |
+
- **Geomagnetic storm effects**: Kp index tracks magnetospheric disturbances that may correlate with qubit coherence.
|
| 177 |
+
- **Solar cycle tracking**: Dataset spans the declining phase of Solar Cycle 25 (peaked October 2024).
|
| 178 |
+
- **Seasonal/diurnal patterns**: Long-term collection enables detection of periodic environmental effects.
|
| 179 |
+
|
| 180 |
+
**Note:** Environmental correlation studies require weeks to months of continuous `observed_time` coverage. Check the current observation window before attempting such analyses.
|
| 181 |
+
|
| 182 |
+
## Collection Method
|
| 183 |
+
|
| 184 |
+
Data is collected via GitHub Actions every 30 minutes:
|
| 185 |
+
1. Fetch space weather (NOAA SWPC)
|
| 186 |
+
2. Fetch local weather (NWS API)
|
| 187 |
+
3. Query IBM Quantum calibration data
|
| 188 |
+
4. Deduplicate by (backend, qubit, property, calibrated_time)
|
| 189 |
+
5. Append new records to dataset
|
| 190 |
+
|
| 191 |
+
Source: [github.com/CharlesCNorton/qiskit-calibration-drift](https://github.com/CharlesCNorton/qiskit-calibration-drift)
|
| 192 |
+
|
| 193 |
+
## Citation
|
| 194 |
+
|
| 195 |
+
```bibtex
|
| 196 |
+
@dataset{qiskit-calibration-drift,
|
| 197 |
+
title={IBM Quantum Calibration Drift Dataset},
|
| 198 |
+
author={Norton, Charles C.},
|
| 199 |
+
year={2026},
|
| 200 |
+
publisher={Hugging Face},
|
| 201 |
+
url={https://huggingface.co/datasets/phanerozoic/qiskit-calibration-drift}
|
| 202 |
+
}
|
| 203 |
+
```
|
| 204 |
+
|
| 205 |
+
## Acknowledgments
|
| 206 |
+
|
| 207 |
+
We acknowledge the NMDB database (www.nmdb.eu), founded under the European Union's FP7 programme (contract no. 213007) for providing neutron monitor data.
|
| 208 |
+
|
| 209 |
+
## License
|
| 210 |
+
|
| 211 |
+
CC-BY-4.0
|
data/train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:725437eef32293285edd1663d970d596b51db1b2be93b89ddbbcfd1e0efd66d2
|
| 3 |
+
size 441744
|