Datasets:
Add geometry-vector-v1 layout embeddings
Browse filesPublish 4577 deterministic unit-normalized geometry vectors, schema, and dataset card.
- README.md +76 -0
- metadata/geometry-vector-v1.parquet +3 -0
- metadata/geometry-vector-v1.schema.json +53 -0
README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
configs:
|
| 4 |
+
- config_name: geometry-vector-v1
|
| 5 |
+
data_files:
|
| 6 |
+
- split: train
|
| 7 |
+
path: "metadata/geometry-vector-v1.parquet"
|
| 8 |
+
tags:
|
| 9 |
+
- quantum
|
| 10 |
+
- superconducting
|
| 11 |
+
- qiskit-metal
|
| 12 |
+
- gds
|
| 13 |
+
- layout
|
| 14 |
+
- embedding
|
| 15 |
+
- geometry
|
| 16 |
+
pretty_name: SQuADDS Layout Embeddings
|
| 17 |
+
size_categories:
|
| 18 |
+
- 1K<n<10K
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
<center>
|
| 22 |
+
<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" />
|
| 23 |
+
</center>
|
| 24 |
+
|
| 25 |
+
# SQuADDS Layout Embeddings
|
| 26 |
+
|
| 27 |
+
Versioned, reproducible geometry vectors for layouts in
|
| 28 |
+
[SQuADDS/SQuADDS_Layouts](https://huggingface.co/datasets/SQuADDS/SQuADDS_Layouts).
|
| 29 |
+
|
| 30 |
+
## `geometry-vector-v1`
|
| 31 |
+
|
| 32 |
+
This release provides 4,577 unit-normalized vectors, one per layout in the
|
| 33 |
+
paired layout registry. Each 23-dimensional vector is derived exclusively from
|
| 34 |
+
the released `geometry-features-v1` table: global bounds and counts, plus
|
| 35 |
+
presence, area fraction, and polygon fraction for each observed layer/datatype
|
| 36 |
+
pair.
|
| 37 |
+
|
| 38 |
+
This is a deterministic baseline for reproducible nearest-layout retrieval. It
|
| 39 |
+
is **not** a learned model embedding and does not replace raw GDS geometry.
|
| 40 |
+
The exact feature order, layer vocabulary, normalization rule, and source
|
| 41 |
+
feature-schema version are frozen in `metadata/geometry-vector-v1.schema.json`.
|
| 42 |
+
|
| 43 |
+
Every record retains `layout_id`, `artifact_id`, `design_id`, `component_name`,
|
| 44 |
+
and `source_id` to link it directly to the simulation database and checksum
|
| 45 |
+
verified GDS artifact.
|
| 46 |
+
|
| 47 |
+
## Access
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
from squadds.layouts import GeometryEmbeddingClient
|
| 51 |
+
|
| 52 |
+
embeddings = GeometryEmbeddingClient()
|
| 53 |
+
record = embeddings.get("layout:sha256:<layout hash>")
|
| 54 |
+
neighbors = embeddings.nearest(record["layout_id"], limit=10)
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
For raw geometry, simulation provenance, and numerical geometry features, use
|
| 58 |
+
the [SQuADDS Layouts dataset](https://huggingface.co/datasets/SQuADDS/SQuADDS_Layouts).
|
| 59 |
+
|
| 60 |
+
## Citation
|
| 61 |
+
|
| 62 |
+
If you use this dataset, cite SQuADDS:
|
| 63 |
+
|
| 64 |
+
```bibtex
|
| 65 |
+
@article{Shanto2024squaddsvalidated,
|
| 66 |
+
doi = {10.22331/q-2024-09-09-1465},
|
| 67 |
+
title = {{SQ}u{ADDS}: {A} validated design database and simulation workflow for superconducting qubit design},
|
| 68 |
+
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},
|
| 69 |
+
journal = {{Quantum}},
|
| 70 |
+
volume = {8},
|
| 71 |
+
pages = {1465},
|
| 72 |
+
year = {2024}
|
| 73 |
+
}
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
This dataset is licensed under the [MIT License](https://github.com/LFL-Lab/SQuADDS/blob/master/LICENSE).
|
metadata/geometry-vector-v1.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff9fc02154da56a58095af4100f48c4557d9f17aa05d9bbd13cffeecb48907ab
|
| 3 |
+
size 1614070
|
metadata/geometry-vector-v1.schema.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"geometry_vector_schema_version": "1.0.0",
|
| 3 |
+
"source_geometry_feature_schema_version": "1.0.0",
|
| 4 |
+
"normalization": "L2 unit norm; raw dimensions use log1p except log aspect ratio and layer fractions.",
|
| 5 |
+
"layer_vocabulary": [
|
| 6 |
+
{
|
| 7 |
+
"layer": 1,
|
| 8 |
+
"datatype": 0
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"layer": 1,
|
| 12 |
+
"datatype": 10
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"layer": 1,
|
| 16 |
+
"datatype": 11
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"layer": 2,
|
| 20 |
+
"datatype": 0
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"layer": 3,
|
| 24 |
+
"datatype": 0
|
| 25 |
+
}
|
| 26 |
+
],
|
| 27 |
+
"feature_names": [
|
| 28 |
+
"log1p_bbox_width_um",
|
| 29 |
+
"log1p_bbox_height_um",
|
| 30 |
+
"log1p_bbox_area_um2",
|
| 31 |
+
"log_bbox_aspect_ratio",
|
| 32 |
+
"log1p_total_area_um2",
|
| 33 |
+
"log1p_polygon_count",
|
| 34 |
+
"log1p_cell_count",
|
| 35 |
+
"log1p_layer_count",
|
| 36 |
+
"layer_1_datatype_0_present",
|
| 37 |
+
"layer_1_datatype_0_area_fraction",
|
| 38 |
+
"layer_1_datatype_0_polygon_fraction",
|
| 39 |
+
"layer_1_datatype_10_present",
|
| 40 |
+
"layer_1_datatype_10_area_fraction",
|
| 41 |
+
"layer_1_datatype_10_polygon_fraction",
|
| 42 |
+
"layer_1_datatype_11_present",
|
| 43 |
+
"layer_1_datatype_11_area_fraction",
|
| 44 |
+
"layer_1_datatype_11_polygon_fraction",
|
| 45 |
+
"layer_2_datatype_0_present",
|
| 46 |
+
"layer_2_datatype_0_area_fraction",
|
| 47 |
+
"layer_2_datatype_0_polygon_fraction",
|
| 48 |
+
"layer_3_datatype_0_present",
|
| 49 |
+
"layer_3_datatype_0_area_fraction",
|
| 50 |
+
"layer_3_datatype_0_polygon_fraction"
|
| 51 |
+
],
|
| 52 |
+
"dimensions": 23
|
| 53 |
+
}
|