File size: 9,767 Bytes
105d6c6
 
7094b9c
105d6c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24de414
105d6c6
 
24de414
105d6c6
24de414
105d6c6
24de414
105d6c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7094b9c
 
 
105d6c6
7094b9c
 
fb40d01
7094b9c
a8b3304
0d03277
7094b9c
0d03277
e85ca68
0d03277
7094b9c
 
 
 
 
 
 
 
 
 
 
 
24de414
7094b9c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7ea40e9
105d6c6
 
7094b9c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7928162
105d6c6
7094b9c
 
105d6c6
 
7094b9c
 
 
 
0d03277
fb40d01
7094b9c
 
0d03277
7094b9c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
---
license: cc-by-4.0
pretty_name: SQuADDS_PlanarCapacitance
private: true
task_categories:
- tabular-regression
- graph-ml
tags:
- superconducting-qubits
- capacitance
- gds
- q3d
size_categories:
- 10K<n<100K
configs:
- config_name: designs
  data_files:
  - split: excluded
    path: data/designs/designs-excluded.parquet
  - split: none
    path: data/designs/designs-none.parquet
  - split: test
    path: data/designs/designs-test.parquet
  - split: train
    path: data/designs/designs-train.parquet
  - split: val
    path: data/designs/designs-val.parquet
- config_name: layouts
  data_files:
  - split: all
    path: data/layouts/layouts.parquet
- config_name: simulations
  data_files:
  - split: excluded
    path: data/simulations/simulations-excluded.parquet
  - split: none
    path: data/simulations/simulations-none.parquet
  - split: test
    path: data/simulations/simulations-test.parquet
  - split: train
    path: data/simulations/simulations-train.parquet
  - split: val
    path: data/simulations/simulations-val.parquet
- config_name: labels
  data_files:
  - split: study
    path: data/labels/labels-study.parquet
  - split: test
    path: data/labels/labels-test.parquet
  - split: train
    path: data/labels/labels-train.parquet
  - split: val
    path: data/labels/labels-val.parquet
- config_name: label_passes
  data_files:
  - split: study
    path: data/label_passes/label_passes-study.parquet
  - split: test
    path: data/label_passes/label_passes-test.parquet
  - split: train
    path: data/label_passes/label_passes-train.parquet
  - split: val
    path: data/label_passes/label_passes-val.parquet
- config_name: geometric_embedding_nodes
  data_files:
  - split: test
    path: data/geometric_embedding/nodes-test.parquet
  - split: train
    path: data/geometric_embedding/nodes-train.parquet
  - split: val
    path: data/geometric_embedding/nodes-val.parquet
- config_name: geometric_embedding_edges
  data_files:
  - split: test
    path: data/geometric_embedding/edges-test.parquet
  - split: train
    path: data/geometric_embedding/edges-train.parquet
  - split: val
    path: data/geometric_embedding/edges-val.parquet
- config_name: geometric_embedding_globals
  data_files:
  - split: test
    path: data/geometric_embedding/globals-test.parquet
  - split: train
    path: data/geometric_embedding/globals-train.parquet
  - split: val
    path: data/geometric_embedding/globals-val.parquet
- config_name: physics_prior
  data_files:
  - split: test
    path: data/physics_prior/physics_prior-test.parquet
  - split: train
    path: data/physics_prior/physics_prior-train.parquet
  - split: val
    path: data/physics_prior/physics_prior-val.parquet
- config_name: optimized_physics_prior
  data_files:
  - split: test
    path: data/optimized_physics_prior/optimized_physics_prior-test.parquet
  - split: train
    path: data/optimized_physics_prior/optimized_physics_prior-train.parquet
  - split: val
    path: data/optimized_physics_prior/optimized_physics_prior-val.parquet
- config_name: model_input
  data_files:
  - split: test
    path: data/model_input/model_input-test.parquet
  - split: train
    path: data/model_input/model_input-train.parquet
  - split: val
    path: data/model_input/model_input-val.parquet
- config_name: splits
  data_files:
  - split: all
    path: data/splits.parquet
- config_name: test_sets
  data_files:
  - split: all
    path: data/test_sets.parquet
- config_name: contributors
  data_files:
  - split: all
    path: data/contributors.parquet
- config_name: licences
  data_files:
  - split: all
    path: data/licences.parquet
- config_name: registry
  data_files:
  - split: all
    path: data/registry.parquet
---

<center>
  <img src="https://github.com/LFL-Lab/SQuADDS/blob/master/docs/_static/images/squadds_logo_dark_name.png?raw=true" width="80%" alt="SQuADDS logo" />
</center>

# SQuADDS_PlanarCapacitance: Q3D capacitance matrices of planar superconducting circuit layouts

Layouts of superconducting circuit components and their Maxwell capacitance matrices from Ansys Q3D, the data behind our paper *QCap: a physics-corrected graph neural network for the capacitance matrix of any planar superconducting device layout*. Each design comes with its GDS file, the Q3D matrix of every conductor in it, its geometric embedding, and two physics priors from a thin-film method of moments, the coarse prior and the extrapolated prior that our model corrects.

- **Paper page:** [lfl-lab.github.io/SQuADDS/ml-paper](https://lfl-lab.github.io/SQuADDS/ml-paper/), with the explainer videos and the [tutorials](https://lfl-lab.github.io/SQuADDS/ml-paper/#tutorials)
- **Paper:** [lfl-lab.github.io/SQuADDS/ml-paper/paper](https://lfl-lab.github.io/SQuADDS/ml-paper/paper/)
- **Code:** [github.com/LFL-Lab/SQuADDS](https://github.com/LFL-Lab/SQuADDS)
- **Data:** [Q3D dataset](https://huggingface.co/datasets/SQuADDS/SQuADDS_PlanarCapacitance) and [synthetic dataset](https://huggingface.co/datasets/SQuADDS/SQuADDS_PlanarCapacitance-Synthetic), part of the [SQuADDS datasets](https://huggingface.co/collections/SQuADDS/squadds-datasets-6a65152b857f8efa5620880a)
- **Models:** [QCap models](https://huggingface.co/SQuADDS/QCap) (QCap, QCap-Lite and QCap-Fast), part of the [SQuADDS models](https://huggingface.co/collections/SQuADDS/squadds-models-6af8b7da67a22df62af374c6)
- **API:** [SQuADDS ML inference API](https://huggingface.co/spaces/SQuADDS/squadds-ml-inference-api)
- **Point of contact:** [Sadman Ahmed Shanto](mailto:shanto@usc.edu)

## What's inside

Each config is one table, keyed by design.

- `designs`: one row per design, with its component family, generator options and split
- `layouts`: one row per GDS file, with its sha256 and conductor count N
- `simulations`: one row per Q3D simulation, with its setup, stack, convergence and run time
- `labels`: the Maxwell matrix of the last complete adaptive pass
- `label_passes`: the matrix after every adaptive pass
- `geometric_embedding_nodes`, `geometric_embedding_edges` and `geometric_embedding_globals`: the conductor vectors, pair vectors and global vector
- `physics_prior`: the physics prior, one coarse method-of-moments solve per design
- `optimized_physics_prior`: the extrapolated prior, from two coarse solves
- `model_input`: the packed input that our models read
- `splits`, `test_sets`, `contributors`, `licences` and `registry`: bookkeeping

## Component families

The counts are those of Table I of the paper.

| group | component families | train | validation | test |
|---|---|---:|---:|---:|
| capacitor families | interdigital, paddle, concentric, star, multipad star | 32,073 | 4,071 | 4,009 |
| qubit families | Xmon, TransmonPocket, shielded concentric | 735 | 93 | 926 |
| generated layouts | single conductor in a ground cut, random shape placements, mixed-shape layouts, local edge effects, third-body couplings | 2,546 | 295 | 364 |
| held-out sets | crowded pockets, freeform geometries, quantum-metal QComponents, large N, unseen qubits and couplers, held-out TransmonPockets | 0 | 149 | 600 |
| multi-qubit grids | one-, five- and nine-qubit grids (15, 35 and 67 conductors) | 0 | 0 | 3 |
| total | | 35,354 | 4,608 | 5,902 |

The `designs` table also lists 18 test designs that have no Q3D matrix. They are not scored.

The Q3D matrices of the test designs are held out and used only for evaluation. The exception is the 1,904 interdigital test designs, whose matrices were already public in [SQuADDS_DB](https://huggingface.co/datasets/SQuADDS/SQuADDS_DB) and are included here. Their layouts, embeddings and priors are here like every other design's.

## Conventions

- Capacitance is in fF with Maxwell signs: diagonal entries are positive and off-diagonal entries are negative.
- Ground is conductor 0. Nets are never merged, so N is read from the layout and counts the ground.
- Every simulation uses a 350 µm silicon substrate (eps_r 11.45) and zero-thickness metal. In the GDS files the ground is on layer 1/0 and the conductors are on layer 1/10.

## Loading

```python
from squadds.ml.capacitance import PlanarCapacitanceDB

db = PlanarCapacitanceDB()
val = db.designs(split="val")
matrices = db.labels(val.design_id[:5])   # Q3D Maxwell matrices in fF
```

The tables are Parquet files, so `datasets.load_dataset("SQuADDS/SQuADDS_PlanarCapacitance", "designs")` and pandas also work.

## Contributors

Saikat Das designed and simulated the interdigital, paddle, concentric and star capacitors and part of the multipad star capacitors. Sadman Ahmed Shanto designed and simulated every other family and the multi-qubit grids, and computed the priors and embeddings.

## Citation

If you use these data or models, please cite our paper and SQuADDS.

```bibtex
@misc{Shanto2026planarcapacitance,
  title   = {{QCap}: a physics-corrected graph neural network for the capacitance matrix of any planar superconducting device layout},
  author  = {Shanto, Sadman Ahmed and Das, Saikat and Levenson-Falk, Eli},
  year    = {2026},
  url     = {https://lfl-lab.github.io/SQuADDS/ml-paper/paper/}
}

@article{Shanto2024squaddsvalidated,
  doi = {10.22331/q-2024-09-09-1465},
  url = {https://doi.org/10.22331/q-2024-09-09-1465},
  title = {{SQ}u{ADDS}: {A} validated design database and simulation workflow for superconducting qubit design},
  author = {Shanto, Sadman and Kuo, Andre and Miyamoto, Clark and Zhang, Haimeng and Maurya, Vivek and Vlachos, Evangelos and Hecht, Malida and Shum, Chung Wa and Levenson-Falk, Eli},
  journal = {{Quantum}},
  issn = {2521-327X},
  publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
  volume = {8},
  pages = {1465},
  month = sep,
  year = {2024}
}
```

## Licence

CC-BY-4.0.