Open-source database of programmatically generated and experimentally validated superconducting quantum device designs, accessible through a user-friendly interface.
Project description
Superconducting Qubit And Device Design and Simulation Database

:warning: This project is an alpha release and currently under active development. Some features and documentation may be incomplete. Please update to the latest release.
The SQuADDS (Superconducting Qubit And Device Design and Simulation) Database Project is an open-source resource aimed at advancing research in superconducting quantum device designs. It provides a robust workflow for generating and simulating superconducting quantum device designs, facilitating the accurate prediction of Hamiltonian parameters across a wide range of design geometries.
Paper Link: SQuADDS: A Database for Superconducting Quantum Device Design and Simulation
Docsite Link: https://lfl-lab.github.io/SQuADDS/
Hugging Face Link: https://huggingface.co/datasets/SQuADDS/SQuADDS_DB
Contribution Portal Link: https://squadds-portal.vercel.app
Chat with the Codebase: https://deepwiki.com/LFL-Lab/SQuADDS/1-overview
Table of Contents
- Citation
- Installation
- Tutorials
- MCP Server (AI Agent Integration)
- ML Models
- Contributing
- License
- FAQs
- Contact
- Contributors
- Developers
Citation
If you use SQuADDS in your research, please cite the following 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}
}
Installation
SQuADDS uses uv for fast, reliable Python package management.
Prerequisites
Install uv (if you don't have it already):
curl -LsSf https://astral.sh/uv/install.sh | sh
Install from Source (Recommended for Development)
git clone https://github.com/LFL-Lab/SQuADDS.git
cd SQuADDS
uv sync
Verify the installation:
uv run python -c "import squadds; print(squadds.__file__)"
Install using pip
pip install SQuADDS
Optional Dependencies
Install GDS processing tools:
uv sync --extra gds
Install documentation tools:
uv sync --extra docs
Install development tools:
uv sync --extra dev
Install contribution tools (for contributing data to SQuADDS):
uv sync --extra contrib
Install all optional dependencies:
uv sync --all-extras
Setting up Jupyter Notebook
To use SQuADDS in Jupyter notebooks (including VS Code/Cursor), register the kernel:
uv sync --extra dev # Installs ipykernel
uv run python -m ipykernel install --user --name squadds --display-name "SQuADDS (uv)"
Then select "SQuADDS (uv)" as your kernel in Jupyter/VS Code/Cursor.
Run using Docker:
Click to expand/hide Docker instructions
We provide a pre-built Docker image that contains all dependencies, including Qiskit-Metal and the latest SQuADDS release.
Pull the Latest Docker Image
You can pull the latest image of SQuADDS from GitHub Packages:
docker pull ghcr.io/lfl-lab/squadds_env:latest
If you'd like to pull a specific version (support begins from v0.3.4 onwards), use the following command:
docker pull ghcr.io/lfl-lab/squadds_env:v0.3.4
You can find all available versions and tags for the squadds_env Docker image on LFL-Lab Packages.
Run the Docker Container
After pulling the image, you can run the container using:
docker run -it ghcr.io/lfl-lab/squadds_env:latest /bin/bash
This will give you access to a bash shell inside the container.
Activate the Conda Environment
Inside the container, activate the squadds-env environment:
conda activate squadds-env
Run SQuADDS
Once the environment is active, you can run SQuADDS by executing your Python scripts or starting an interactive Python session.
Tutorials
The following tutorials are available to help you get started with SQuADDS:
- Tutorial 0: Using the SQuADDS WebUI
- Tutorial 1: Getting Started with SQuADDS
- Tutorial 2: Simulating Interpolated Designs
- Tutorial 3: Contributing Experimentally-Validated Simulation Data to the SQuADDS Database
- Tutorial 4: Contributing Measured Devices' Data to the SQuADDS Database
- Tutorial 5: Designing a "fab-ready" chip with SQuADDS
- Tutorial 6: Adding Airbridges
- Tutorial 7: Simulate designs with palace
- Tutorial 8: ML Interpolation in SQuADDS
- Tutorial 9: Learning the Inverse Map
- Tutorial 10: HFSS Driven-Modal Capacitance Extraction
- Tutorial 11: Unified Driven-Modal Hamiltonian Extraction
MCP Server (AI Agent Integration)
SQuADDS includes a built-in Model Context Protocol (MCP) server that lets AI coding agents interact with the entire database — searching designs, interpolating parameters, and exploring components — through a standardized protocol.
Agent Setup (Copy-Paste This to Your AI Agent)
If you're using an AI coding assistant, just paste this prompt to have it set up SQuADDS MCP for you:
Click to copy the agent setup prompt
I need you to set up the SQuADDS MCP server so I can access the superconducting
qubit design database through you. Here's what to do:
1. Clone the repo and install:
git clone https://github.com/LFL-Lab/SQuADDS.git
cd SQuADDS
uv sync --extra mcp
2. Add the MCP server to your config. The command to run the server is:
uv run --directory /path/to/SQuADDS squadds-mcp
3. Once connected, read the `squadds://guide` resource for a quick overview
of available tools.
The server exposes these key tools:
- `list_components` / `list_datasets` — explore the database
- `find_closest_designs` — find designs matching target Hamiltonian parameters
- `interpolate_design` — get physics-interpolated designs
- `get_hamiltonian_param_keys` — discover valid search parameters
Typical target parameter ranges:
- qubit_frequency_GHz: 3–8
- anharmonicity_MHz: −500 to −50
- cavity_frequency_GHz: 5–12
- kappa_kHz: 10–1000
- g_MHz: 10–200
Please set this up and confirm you can access the SQuADDS tools.
Manual Setup
Install
git clone https://github.com/LFL-Lab/SQuADDS.git
cd SQuADDS
uv sync --extra mcp
Run
# stdio mode (for local AI assistants)
uv run squadds-mcp
# HTTP mode (for networked/remote usage)
SQUADDS_MCP_TRANSPORT=streamable-http uv run squadds-mcp
Connect Your AI Client
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"squadds": {
"command": "uv",
"args": ["run", "--directory", "/path/to/SQuADDS", "squadds-mcp"]
}
}
}
Claude Code
claude mcp add squadds -- uv run --directory /path/to/SQuADDS squadds-mcp
Cursor
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"squadds": {
"command": "uv",
"args": ["run", "--directory", "/path/to/SQuADDS", "squadds-mcp"]
}
}
}
VS Code (Copilot)
Add to .vscode/settings.json:
{
"mcp": {
"servers": {
"squadds": {
"command": "uv",
"args": ["run", "--directory", "/path/to/SQuADDS", "squadds-mcp"]
}
}
}
}
Antigravity (Gemini)
Add to ~/.gemini/settings.json (or project-level .gemini/settings.json):
{
"mcpServers": {
"squadds": {
"command": "uv",
"args": ["run", "--directory", "/path/to/SQuADDS", "squadds-mcp"]
}
}
}
Gemini CLI
Add to ~/.gemini/settings.json:
{
"mcpServers": {
"squadds": {
"command": "uv",
"args": ["run", "--directory", "/path/to/SQuADDS", "squadds-mcp"]
}
}
}
OpenAI Codex CLI
codex --mcp-config mcp.json
With mcp.json:
{
"mcpServers": {
"squadds": {
"command": "uv",
"args": ["run", "--directory", "/path/to/SQuADDS", "squadds-mcp"]
}
}
}
Full MCP documentation: MCP_README.md | Developer guide: MCP_DEVELOPER_GUIDE.md
ML Models
We host ML models trained on SQuADDS on our Hugging Face org, served through the SQuADDS ML Inference API Space. Docsite page: ML Models.
Our first production model is a qubit-claw (TransmonCross) Hamiltonian-to-geometry inverse model, developed in collaboration with Taylor Patti, Nicola Pancotti, Enectali Figueroa-Feliciano, Sara Sussman, Olivia Seidel, Firas Abouzahr, Eli Levenson-Falk, and Sadman Ahmed Shanto — with Olivia Seidel and Firas Abouzahr as the primary trainers.
transmon_cross_hamiltonian_inverse — usage
- Model repo: https://huggingface.co/SQuADDS/transmon-cross-hamiltonian-inverse
- Space / live API: https://squadds-squadds-ml-inference-api.hf.space
- Routes:
GET /health,GET /models,POST /predict
Recommended agent flow: GET /models → pick a model with status="ready" → POST /predict with that model_id and the exact input keys it advertises.
curl -X POST \
https://squadds-squadds-ml-inference-api.hf.space/predict \
-H 'Content-Type: application/json' \
-d '{"model_id":"transmon_cross_hamiltonian_inverse","inputs":{"qubit_frequency_GHz":4.85,"anharmonicity_MHz":-205.0}}'
Inputs: qubit_frequency_GHz, anharmonicity_MHz.
Outputs (SI units, meters): design_options.connection_pads.readout.claw_length, design_options.connection_pads.readout.ground_spacing, design_options.cross_length. Feed those straight into SQuADDS / Qiskit Metal downstream flows.
Full contract, sample response, and manifest: see the model repo README and the Space README.
More models are coming — resonator and qubit-cavity coupled-system inverses are next (the deployment tooling already knows about these families, so they drop in once checkpoints land). If you've trained a well-performing SQuADDS-based model, please PR it in — open an issue or PR against SQuADDS/squadds-ml-inference-api and we'll get it on the model page.
Contributing
We welcome contributions from the community! Here is our work wish list.
You can use our web portal to contribute your files - https://squadds-portal.vercel.app
Please see our Contributing Guidelines for more information on how to get started and absolutely feel free to reach out to us if you have any questions.
License
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Check out our FAQs for common questions and answers.
Contact
For inquiries or support, please contact Sadman Ahmed Shanto.
Contributors
| Name | Institution | Contribution |
|---|---|---|
| Clark Miyamoto | New York University | Code contributor |
| Madison Howard | California Institute of Technology | Bug Hunter |
| Evangelos Vlachos | University of Southern California | Code contributor |
| Kaveh Pezeshki | Stanford University | Documentation contributor |
| Anne Whelan | US Navy | Documentation contributor |
| Jenny Huang | Columbia University | Documentation contributor |
| Connie Miao | Stanford University | Data Contributor |
| Malida Hecht | University of Southern California | Data contributor |
| Daria Kowsari, PhD | University of Southern California | Data contributor |
| Vivek Maurya | University of Southern California | Data contributor |
| Haimeng Zhang, PhD | IBM | Data contributor |
| Elizabeth Kunz | University of Southern California | Documentation and Code contributor |
| Adhish Chakravorty | University of Southern California | Documentation and Code contributor |
| Ethan Zheng | University of Southern California | Data contributor and Bug Hunter |
| Sara Sussman, PhD | Fermilab | Bug Hunter |
| Priyangshu Chatterjee | IIT Kharagpur | Documentation contributor |
| Abhishek Chakraborty | Chapman University/University of Rochester and Riggeti | Code contributor |
| Saikat Das | University of Southern California | Reviewer |
| Firas Abouzahr | Northwestern | Bug Hunter |
Developers
- shanto268 - 440 contributions
- elizabethkunz - 17 contributions
- LFL-Lab - 9 contributions
- NxtGenLegend - 1 contributions
- ethanzhen7 - 1 contributions
- PCodeShark25 - 1 contributions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file squadds-0.4.4.tar.gz.
File metadata
- Download URL: squadds-0.4.4.tar.gz
- Upload date:
- Size: 153.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9de61f9e41c1165c6cbbebfaef43fef5ccd3233afb3e2298feee38c0e9f8f5b
|
|
| MD5 |
719f4739dcca6cb93ea477d141010c4c
|
|
| BLAKE2b-256 |
50cd6bac10d54d77a11b5c696fd2485d66593a85ddf4d2d75ebbf770a9962ac0
|
Provenance
The following attestation bundles were made for squadds-0.4.4.tar.gz:
Publisher:
pypi.yml on LFL-Lab/SQuADDS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
squadds-0.4.4.tar.gz -
Subject digest:
e9de61f9e41c1165c6cbbebfaef43fef5ccd3233afb3e2298feee38c0e9f8f5b - Sigstore transparency entry: 1346438533
- Sigstore integration time:
-
Permalink:
LFL-Lab/SQuADDS@8d5215f4e878c883a30211150239e11b588d3202 -
Branch / Tag:
refs/tags/v0.4.4 - Owner: https://github.com/LFL-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@8d5215f4e878c883a30211150239e11b588d3202 -
Trigger Event:
release
-
Statement type:
File details
Details for the file squadds-0.4.4-py3-none-any.whl.
File metadata
- Download URL: squadds-0.4.4-py3-none-any.whl
- Upload date:
- Size: 198.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52be7d80e734d26e43202b22ec05a48619cb06ce8b979db81b60acb16fa239f4
|
|
| MD5 |
ef9e74044e196247919155ea1afdfc1a
|
|
| BLAKE2b-256 |
d00767e649c68a086b1a7f150e4a97d40d1dd705f60f5fe609e2e68cff04d51f
|
Provenance
The following attestation bundles were made for squadds-0.4.4-py3-none-any.whl:
Publisher:
pypi.yml on LFL-Lab/SQuADDS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
squadds-0.4.4-py3-none-any.whl -
Subject digest:
52be7d80e734d26e43202b22ec05a48619cb06ce8b979db81b60acb16fa239f4 - Sigstore transparency entry: 1346438647
- Sigstore integration time:
-
Permalink:
LFL-Lab/SQuADDS@8d5215f4e878c883a30211150239e11b588d3202 -
Branch / Tag:
refs/tags/v0.4.4 - Owner: https://github.com/LFL-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@8d5215f4e878c883a30211150239e11b588d3202 -
Trigger Event:
release
-
Statement type: