Datasets:
Document layout registry and add geometry features (#3)
Browse files- Document layout registry and add geometry features (f33d70056569768283258971aa01f6cd401ea0b4)
- README.md +110 -24
- metadata/geometry-features-v1.parquet +3 -0
README.md
CHANGED
|
@@ -5,55 +5,141 @@ configs:
|
|
| 5 |
data_files:
|
| 6 |
- split: train
|
| 7 |
path: "metadata/manifest.parquet"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
tags:
|
| 9 |
- quantum
|
| 10 |
- superconducting
|
| 11 |
- qiskit-metal
|
|
|
|
| 12 |
- gds
|
| 13 |
- layout
|
| 14 |
- quantum-hardware
|
|
|
|
|
|
|
|
|
|
| 15 |
pretty_name: SQuADDS Layouts
|
|
|
|
|
|
|
| 16 |
---
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
-
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
## Access
|
| 34 |
|
| 35 |
-
Use the
|
| 36 |
-
|
| 37 |
-
checksum before returning the local cache path.
|
| 38 |
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
```text
|
| 42 |
raw/GeneralizedCapNInterdigital/<campaign>/<instance>.gds
|
| 43 |
raw/CapNInterdigitalTee/generated_from_cap_matrix/<instance>.gds
|
| 44 |
```
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
| 47 |
|
| 48 |
-
|
| 49 |
-
`metadata/layer-semantics-v1.json`. The GDS files retain their original
|
| 50 |
-
simulation-domain geometry, ports, and layer/datatype pairs.
|
| 51 |
|
| 52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
-
|
| 55 |
-
of the Levenson-Falk Lab at USC. This repository excludes seven local GDS files
|
| 56 |
-
that did not have matching simulation rows.
|
| 57 |
|
| 58 |
-
|
| 59 |
-
the corresponding SQuADDS_DB design options using Qiskit Metal.
|
|
|
|
| 5 |
data_files:
|
| 6 |
- split: train
|
| 7 |
path: "metadata/manifest.parquet"
|
| 8 |
+
- config_name: geometry-features-v1
|
| 9 |
+
data_files:
|
| 10 |
+
- split: train
|
| 11 |
+
path: "metadata/geometry-features-v1.parquet"
|
| 12 |
tags:
|
| 13 |
- quantum
|
| 14 |
- superconducting
|
| 15 |
- qiskit-metal
|
| 16 |
+
- qiskit
|
| 17 |
- gds
|
| 18 |
- layout
|
| 19 |
- quantum-hardware
|
| 20 |
+
- design
|
| 21 |
+
- device
|
| 22 |
+
- geometry
|
| 23 |
pretty_name: SQuADDS Layouts
|
| 24 |
+
size_categories:
|
| 25 |
+
- 1K<n<10K
|
| 26 |
---
|
| 27 |
|
| 28 |
+
<center>
|
| 29 |
+
<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" />
|
| 30 |
+
</center>
|
| 31 |
+
|
| 32 |
+
# SQuADDS Layouts - versioned GDS artifacts for superconducting quantum hardware
|
| 33 |
+
|
| 34 |
+
SQuADDS Layouts is the geometry-artifact companion to
|
| 35 |
+
[SQuADDS_DB](https://huggingface.co/datasets/SQuADDS/SQuADDS_DB), the
|
| 36 |
+
Superconducting Qubit And Device Design and Simulation Database. It provides
|
| 37 |
+
checksum-verified GDS files, stable geometry identities, and machine-readable
|
| 38 |
+
geometry metadata so a simulation result can be traced to the exact layout
|
| 39 |
+
that produced it.
|
| 40 |
+
|
| 41 |
+
- **Homepage:** [https://lfl-lab.github.io/SQuADDS/](https://lfl-lab.github.io/SQuADDS/)
|
| 42 |
+
- **Repository:** [https://github.com/LFL-Lab/SQuADDS](https://github.com/LFL-Lab/SQuADDS)
|
| 43 |
+
- **Simulation database:** [SQuADDS/SQuADDS_DB](https://huggingface.co/datasets/SQuADDS/SQuADDS_DB)
|
| 44 |
+
- **Paper:** [https://arxiv.org/pdf/2312.13483.pdf](https://arxiv.org/pdf/2312.13483.pdf)
|
| 45 |
+
- **Point of contact:** [Sadman Ahmed Shanto](mailto:shanto@usc.edu)
|
| 46 |
+
|
| 47 |
+
## Contents
|
| 48 |
|
| 49 |
+
The current release contains 4,577 two-terminal coupler layouts.
|
| 50 |
|
| 51 |
+
| Component | Count | Source simulation configuration | Layout provenance |
|
| 52 |
+
| --- | ---: | --- | --- |
|
| 53 |
+
| `GeneralizedCapNInterdigital` | 3,683 | `coupler-GeneralizedCapNInterdigital-cap_matrix` | Simulation layouts matched by `notes.source_id` |
|
| 54 |
+
| `CapNInterdigitalTee` | 894 | `coupler-CapNInterdigitalTee-cap_matrix` | Deterministic Qiskit Metal exports, one per database row |
|
| 55 |
|
| 56 |
+
Seven supplied generalized-capacitor GDS files without matching simulation rows
|
| 57 |
+
are intentionally excluded. The generalized dataset uses `north` and `south`
|
| 58 |
+
as canonical terminal names; `top` and `bottom` simulation fields are retained
|
| 59 |
+
in SQuADDS_DB as compatibility aliases.
|
| 60 |
|
| 61 |
+
## Dataset Configurations
|
| 62 |
+
|
| 63 |
+
### `layout-manifest`
|
| 64 |
+
|
| 65 |
+
`metadata/manifest.parquet` is the authoritative index. Every record includes:
|
| 66 |
+
|
| 67 |
+
- `layout_id`: content-derived geometry identity.
|
| 68 |
+
- `artifact_id`: SHA-256 checksum of the exact GDS file.
|
| 69 |
+
- `design_id`: component-aware identity derived from design options.
|
| 70 |
+
- `source_id`, `simulation_repo`, and `simulation_config`: links to the source simulation record.
|
| 71 |
+
- `gds_path`: repository-relative raw artifact path.
|
| 72 |
+
- `bbox_um`, `layers`, `polygon_count`, and `cell_count`: geometry metadata in micrometers.
|
| 73 |
+
|
| 74 |
+
### `geometry-features-v1`
|
| 75 |
+
|
| 76 |
+
`metadata/geometry-features-v1.parquet` contains stable numerical features
|
| 77 |
+
derived from the manifest without changing the raw GDS artifact. It includes
|
| 78 |
+
bounds, area, aspect ratio, polygon and cell counts, plus sparse per-layer
|
| 79 |
+
area and polygon statistics. This configuration is the reproducible input
|
| 80 |
+
contract for future embedding models; it is not itself a learned embedding.
|
| 81 |
|
| 82 |
## Access
|
| 83 |
|
| 84 |
+
Use the SQuADDS Python API to resolve a layout from a SQuADDS_DB row, download
|
| 85 |
+
the checksum-verified GDS file, and inspect it on demand:
|
|
|
|
| 86 |
|
| 87 |
+
```python
|
| 88 |
+
from squadds import SQuADDS_DB
|
| 89 |
+
|
| 90 |
+
row = ... # one SQuADDS_DB simulation row
|
| 91 |
+
gds_path = SQuADDS_DB.download_gds(row)
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
Or use `LayoutClient` directly when you have a layout, design, or source ID:
|
| 95 |
+
|
| 96 |
+
```python
|
| 97 |
+
from squadds.layouts import LayoutClient
|
| 98 |
+
|
| 99 |
+
client = LayoutClient()
|
| 100 |
+
layout = client.find(source_id="exp6/cap_0000")
|
| 101 |
+
summary = client.summary(layout)
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
Raw artifacts are organized as:
|
| 105 |
|
| 106 |
```text
|
| 107 |
raw/GeneralizedCapNInterdigital/<campaign>/<instance>.gds
|
| 108 |
raw/CapNInterdigitalTee/generated_from_cap_matrix/<instance>.gds
|
| 109 |
```
|
| 110 |
|
| 111 |
+
The generalized layer and port convention is documented in
|
| 112 |
+
`metadata/layer-semantics-v1.json`. Install the SQuADDS optional GDS dependency
|
| 113 |
+
group (`uv sync --extra gds`) to inspect geometry locally.
|
| 114 |
|
| 115 |
+
## Provenance and Contributions
|
|
|
|
|
|
|
| 116 |
|
| 117 |
+
The generalized-capacitor simulation data was contributed by **Saikat Das** of
|
| 118 |
+
the Levenson-Falk Lab at USC. `CapNInterdigitalTee` artifacts are reproducibly
|
| 119 |
+
generated from their paired SQuADDS_DB design definitions using Qiskit Metal.
|
| 120 |
+
|
| 121 |
+
New layouts should include a matching SQuADDS_DB simulation row, a stable
|
| 122 |
+
source identifier, exact artifact checksum, component name, geometry metadata,
|
| 123 |
+
and documented layer semantics. This keeps raw geometry, simulations, derived
|
| 124 |
+
features, and future embeddings independently versioned but linkable.
|
| 125 |
+
|
| 126 |
+
## Citation
|
| 127 |
+
|
| 128 |
+
If you use SQuADDS Layouts in your research, cite SQuADDS:
|
| 129 |
+
|
| 130 |
+
```bibtex
|
| 131 |
+
@article{Shanto2024squaddsvalidated,
|
| 132 |
+
doi = {10.22331/q-2024-09-09-1465},
|
| 133 |
+
url = {https://doi.org/10.22331/q-2024-09-09-1465},
|
| 134 |
+
title = {{SQ}u{ADDS}: {A} validated design database and simulation workflow for superconducting qubit design},
|
| 135 |
+
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},
|
| 136 |
+
journal = {{Quantum}},
|
| 137 |
+
volume = {8},
|
| 138 |
+
pages = {1465},
|
| 139 |
+
year = {2024}
|
| 140 |
+
}
|
| 141 |
+
```
|
| 142 |
|
| 143 |
+
## License
|
|
|
|
|
|
|
| 144 |
|
| 145 |
+
This project is licensed under the [MIT License](https://github.com/LFL-Lab/SQuADDS/blob/master/LICENSE).
|
|
|
metadata/geometry-features-v1.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdd46d5320c904816aaa7bbe5ddd2a737cb4f3ad3e791ad70860eebc90fa4976
|
| 3 |
+
size 1110448
|