Datasets:
Expand generalized NCap v0 and add accepted universal geometry v1.1
#2
by shanto268 - opened
- README.md +59 -13
- metadata/static-embedding-v0.parquet +2 -2
- metadata/static-embedding-v0.schema.json +22 -22
- metadata/universal-geometry-v1.parquet +3 -0
- models/universal-geometry-v1/control-map.parquet +3 -0
- models/universal-geometry-v1/release-manifest.json +18 -0
- models/universal-geometry-v1/schema.json +0 -0
README.md
CHANGED
|
@@ -5,6 +5,10 @@ configs:
|
|
| 5 |
data_files:
|
| 6 |
- split: train
|
| 7 |
path: "metadata/static-embedding-v0.parquet"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
tags:
|
| 9 |
- quantum
|
| 10 |
- superconducting
|
|
@@ -16,7 +20,7 @@ tags:
|
|
| 16 |
- computer-vision
|
| 17 |
pretty_name: SQuADDS Layout Embeddings
|
| 18 |
size_categories:
|
| 19 |
-
-
|
| 20 |
---
|
| 21 |
|
| 22 |
<center>
|
|
@@ -25,7 +29,7 @@ size_categories:
|
|
| 25 |
|
| 26 |
# SQuADDS Layout Embeddings
|
| 27 |
|
| 28 |
-
Versioned layout representations for the
|
| 29 |
[SQuADDS/SQuADDS_Layouts](https://huggingface.co/datasets/SQuADDS/SQuADDS_Layouts).
|
| 30 |
|
| 31 |
## Static embedding model `v0`
|
|
@@ -50,20 +54,58 @@ centered without distortion, supersampled at 4×, and reduced to 96×96. The
|
|
| 50 |
large simulation-domain ground rectangle on layer `(1, 0)` is excluded so it
|
| 51 |
does not hide the component shape.
|
| 52 |
|
| 53 |
-
This is a deterministic static embedding, not a learned model. It
|
| 54 |
-
|
| 55 |
-
`v1` may use a compact learned raster or geometry-graph encoder, but will be
|
| 56 |
-
published as a separate model rather than changing `v0` in place.
|
| 57 |
|
| 58 |
The exact block offsets, moment order, raster semantics, normalization
|
| 59 |
statistics, and source schema are frozen in
|
| 60 |
`metadata/static-embedding-v0.schema.json`.
|
| 61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
## Coverage and links
|
| 63 |
|
| 64 |
| Component | Embeddings |
|
| 65 |
| --- | ---: |
|
| 66 |
-
| `GeneralizedCapNInterdigital` |
|
| 67 |
| `CapNInterdigitalTee` | 894 |
|
| 68 |
| `CavityClawRouteMeander` | 1,216 |
|
| 69 |
| `TransmonCross` | 1,934 |
|
|
@@ -80,16 +122,20 @@ complete catalogue.
|
|
| 80 |
## Access
|
| 81 |
|
| 82 |
```python
|
| 83 |
-
from squadds.layouts import StaticEmbeddingClient
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
```
|
| 90 |
|
| 91 |
SQuADDS_DB rows can resolve the same vector directly with
|
| 92 |
-
`SQuADDS_DB.get_layout_embedding(row)`.
|
|
|
|
| 93 |
`get_layout_embedding` and `find_similar_layouts`.
|
| 94 |
|
| 95 |
## Provenance
|
|
|
|
| 5 |
data_files:
|
| 6 |
- split: train
|
| 7 |
path: "metadata/static-embedding-v0.parquet"
|
| 8 |
+
- config_name: universal-geometry-v1
|
| 9 |
+
data_files:
|
| 10 |
+
- split: train
|
| 11 |
+
path: "metadata/universal-geometry-v1.parquet"
|
| 12 |
tags:
|
| 13 |
- quantum
|
| 14 |
- superconducting
|
|
|
|
| 20 |
- computer-vision
|
| 21 |
pretty_name: SQuADDS Layout Embeddings
|
| 22 |
size_categories:
|
| 23 |
+
- 10K<n<100K
|
| 24 |
---
|
| 25 |
|
| 26 |
<center>
|
|
|
|
| 29 |
|
| 30 |
# SQuADDS Layout Embeddings
|
| 31 |
|
| 32 |
+
Versioned layout representations for the 24,106 GDS artifacts in
|
| 33 |
[SQuADDS/SQuADDS_Layouts](https://huggingface.co/datasets/SQuADDS/SQuADDS_Layouts).
|
| 34 |
|
| 35 |
## Static embedding model `v0`
|
|
|
|
| 54 |
large simulation-domain ground rectangle on layer `(1, 0)` is excluded so it
|
| 55 |
does not hide the component shape.
|
| 56 |
|
| 57 |
+
This is a deterministic static embedding, not a learned model. It remains a
|
| 58 |
+
transparent baseline and a stable input for similarity search.
|
|
|
|
|
|
|
| 59 |
|
| 60 |
The exact block offsets, moment order, raster semantics, normalization
|
| 61 |
statistics, and source schema are frozen in
|
| 62 |
`metadata/static-embedding-v0.schema.json`.
|
| 63 |
|
| 64 |
+
## Universal geometry model `v1`
|
| 65 |
+
|
| 66 |
+
`universal-geometry-v1` is an additive 1,024-dimensional standard built from only
|
| 67 |
+
a GDS file, a functional layer-role mapping, and the native design-parameter
|
| 68 |
+
dictionary. Simulation targets are never embedded.
|
| 69 |
+
|
| 70 |
+
| Block | Dimensions | Contents |
|
| 71 |
+
| --- | ---: | --- |
|
| 72 |
+
| Geometry metrics | 32 | Centered physical and morphological metrics; availability remains metadata rather than distorting cosine distance |
|
| 73 |
+
| Multiscale shape | 768 | Target-blind, variance-selected full-spectrum 2D DCT coefficients from 96×96 signed-material and boundary-distance rasters |
|
| 74 |
+
| Parameter controls | 224 | Stable signed feature hashing of canonical parameter paths after per-parameter centering and scaling |
|
| 75 |
+
|
| 76 |
+
The metric block retains physical scale and role-specific conductor, etch, and
|
| 77 |
+
port measurements. The shape block captures finger topology and boundary detail
|
| 78 |
+
without storing a dense pixel tensor. Each block is normalized and explicitly
|
| 79 |
+
weighted, and every fitted statistic and selected spectral frequency is frozen
|
| 80 |
+
in the schema.
|
| 81 |
+
|
| 82 |
+
Parameter identity is retained on every row through `parameter_names`,
|
| 83 |
+
`parameter_values`, `parameter_hash_indices`, and `parameter_hash_signs`.
|
| 84 |
+
`models/universal-geometry-v1/control-map.parquet` provides the global,
|
| 85 |
+
auditable bridge back to the originating layout controls.
|
| 86 |
+
|
| 87 |
+
This first v1 configuration contains all **20,062**
|
| 88 |
+
`GeneralizedCapNInterdigital` designs. The encoder accepts foreign GDS layouts
|
| 89 |
+
when their `(layer, datatype)` pairs are mapped to `conductor`, `etch`, or
|
| 90 |
+
`port`; the cross-component reference normalization will be frozen in a later
|
| 91 |
+
release after it is calibrated on the full SQuADDS catalogue.
|
| 92 |
+
|
| 93 |
+
The complete input contract, block offsets, transforms, normalization
|
| 94 |
+
statistics, and invariances are frozen in
|
| 95 |
+
`models/universal-geometry-v1/schema.json`.
|
| 96 |
+
|
| 97 |
+
The earlier 512-dimensional v1.0 candidate was rejected before release because
|
| 98 |
+
its 8×8 low-pass shape crop lost finger detail and its common offsets collapsed
|
| 99 |
+
cosine similarities. V1.1 passed paired topology, parameter-locality, shape,
|
| 100 |
+
held-out capacitance-locality, and similarity-dynamic-range gates against v0
|
| 101 |
+
across five deterministic held-out samples. Capacitance was never used to fit
|
| 102 |
+
the embedding.
|
| 103 |
+
|
| 104 |
## Coverage and links
|
| 105 |
|
| 106 |
| Component | Embeddings |
|
| 107 |
| --- | ---: |
|
| 108 |
+
| `GeneralizedCapNInterdigital` | 20,062 |
|
| 109 |
| `CapNInterdigitalTee` | 894 |
|
| 110 |
| `CavityClawRouteMeander` | 1,216 |
|
| 111 |
| `TransmonCross` | 1,934 |
|
|
|
|
| 122 |
## Access
|
| 123 |
|
| 124 |
```python
|
| 125 |
+
from squadds.layouts import LayoutEmbeddingClient, StaticEmbeddingClient
|
| 126 |
+
|
| 127 |
+
v0 = StaticEmbeddingClient() # Backward-compatible alias
|
| 128 |
+
v1 = LayoutEmbeddingClient(version="v1")
|
| 129 |
|
| 130 |
+
record = v1.get("layout:sha256:<layout hash>")
|
| 131 |
+
neighbors = v1.nearest(record["layout_id"], limit=10)
|
| 132 |
+
schema = v1.schema()
|
| 133 |
+
controls = v1.control_map()
|
| 134 |
```
|
| 135 |
|
| 136 |
SQuADDS_DB rows can resolve the same vector directly with
|
| 137 |
+
`SQuADDS_DB.get_layout_embedding(row, embedding_version="v1")`. Omitting the
|
| 138 |
+
version preserves the v0 default. The SQuADDS MCP server also provides
|
| 139 |
`get_layout_embedding` and `find_similar_layouts`.
|
| 140 |
|
| 141 |
## Provenance
|
metadata/static-embedding-v0.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4511d820fa2fe3fcd90a0d35c0e89e61047fb80aec5af9182d45f5ea2706f6e4
|
| 3 |
+
size 74418617
|
metadata/static-embedding-v0.schema.json
CHANGED
|
@@ -49,31 +49,31 @@
|
|
| 49 |
"excluded": "simulation-domain ground layer (1, 0)"
|
| 50 |
},
|
| 51 |
"normalization": {
|
| 52 |
-
"parameter_mean":
|
| 53 |
-
"parameter_std":
|
| 54 |
"moment_mean": [
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
0.
|
| 58 |
-
0.
|
| 59 |
-
0.
|
| 60 |
-
0.
|
| 61 |
-
0.
|
| 62 |
-
0.
|
| 63 |
-
|
| 64 |
-
0.
|
| 65 |
],
|
| 66 |
"moment_std": [
|
| 67 |
-
|
| 68 |
-
1.
|
| 69 |
-
0.
|
| 70 |
-
0.
|
| 71 |
-
0.
|
| 72 |
-
0.
|
| 73 |
-
0.
|
| 74 |
-
0.
|
| 75 |
-
0.
|
| 76 |
-
0.
|
| 77 |
],
|
| 78 |
"parameter": "tanh(z-score)",
|
| 79 |
"moments": "z-score, clipped to [-5, 5], then L2 normalized",
|
|
|
|
| 49 |
"excluded": "simulation-domain ground layer (1, 0)"
|
| 50 |
},
|
| 51 |
"normalization": {
|
| 52 |
+
"parameter_mean": 341.3981965955698,
|
| 53 |
+
"parameter_std": 867.4239842516337,
|
| 54 |
"moment_mean": [
|
| 55 |
+
7.7801819406323265,
|
| 56 |
+
6.502637244988525,
|
| 57 |
+
0.07048602809152436,
|
| 58 |
+
0.32053440673915906,
|
| 59 |
+
0.014431057708888933,
|
| 60 |
+
0.0040826806348275395,
|
| 61 |
+
0.046262563887785144,
|
| 62 |
+
0.02951256348409475,
|
| 63 |
+
-0.0001547993144423334,
|
| 64 |
+
0.7514288381372038
|
| 65 |
],
|
| 66 |
"moment_std": [
|
| 67 |
+
1.5530560058884653,
|
| 68 |
+
1.1076182871031315,
|
| 69 |
+
0.715898223432142,
|
| 70 |
+
0.1292091032011584,
|
| 71 |
+
0.04383759925758862,
|
| 72 |
+
0.01816855969349625,
|
| 73 |
+
0.02105482563282042,
|
| 74 |
+
0.01573011502221041,
|
| 75 |
+
0.0007823689518411512,
|
| 76 |
+
0.19325385936838735
|
| 77 |
],
|
| 78 |
"parameter": "tanh(z-score)",
|
| 79 |
"moments": "z-score, clipped to [-5, 5], then L2 normalized",
|
metadata/universal-geometry-v1.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80abb1747aaf53141098c94ed9d2c75f61281dda77f021bcbb7733964d73ab72
|
| 3 |
+
size 125028053
|
models/universal-geometry-v1/control-map.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5694744084ea25981c9064c97a8eb96082616d3ee53bb580fcbaa109635cff0d
|
| 3 |
+
size 6142
|
models/universal-geometry-v1/release-manifest.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "universal-geometry-v1",
|
| 3 |
+
"embedding_schema_version": "1.1.0",
|
| 4 |
+
"component_name": "GeneralizedCapNInterdigital",
|
| 5 |
+
"rows": 20062,
|
| 6 |
+
"dimensions": 1024,
|
| 7 |
+
"files": {
|
| 8 |
+
"metadata/universal-geometry-v1.parquet": {
|
| 9 |
+
"sha256": "80abb1747aaf53141098c94ed9d2c75f61281dda77f021bcbb7733964d73ab72"
|
| 10 |
+
},
|
| 11 |
+
"models/universal-geometry-v1/schema.json": {
|
| 12 |
+
"sha256": "dcb90a925fdcd96d7760e098b2223f5745c0d6d9cda5d7be2f7bcf2ad3f819a3"
|
| 13 |
+
},
|
| 14 |
+
"models/universal-geometry-v1/control-map.parquet": {
|
| 15 |
+
"sha256": "5694744084ea25981c9064c97a8eb96082616d3ee53bb580fcbaa109635cff0d"
|
| 16 |
+
}
|
| 17 |
+
}
|
| 18 |
+
}
|
models/universal-geometry-v1/schema.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|