Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

- name: Run tests with pytest
run: |
uv run pytest --verbose --cov --cov-report=xml --cov-report=term
uv run pytest -m "not server" --verbose --cov --cov-report=xml --cov-report=term

- name: Upload coverage to Codecov
if: matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest'
Expand Down
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ tmp_file.py

# Virtual environments
.venv*
uv.lock
*.code-workspace

quam_builder/architecture/quantum_dots/other
Expand All @@ -196,3 +195,15 @@ misc.xml
quam-builder.iml
/quam_builder/architecture/quantum_dots/examples/config/
/quam_builder/architecture/quantum_dots/examples/quam_state/
.quam_builder/architecture/quantum_dots/examples/configs.py
quam_builder/architecture/quantum_dots/examples/configs.py
quam_builder/architecture/quantum_dots/examples/data/

# QM connection configs (contain credentials)
.qm_cluster_config.json
.qm_saas_credentials.json

# Local-only tooling and IDE metadata
/.claude/
/.idea/inspectionProfiles/
.planning/
138 changes: 28 additions & 110 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ repos:
hooks:
- id: pylint
name: pylint
entry: python -m pylint --rcfile=.pylintrc
# Monorepo: git (and pre-commit) run from ``CS_installations`` root, not ``quam-builder/``
entry: python -m pylint --rcfile=quam-builder/.pylintrc
language: system
types: [python]
# Only the quam-builder package; ``qualibration_graphs`` etc. live alongside at repo root
files: ^quam-builder/
# Exclude the pylint plugin and its test files (which contain intentional lint violations)
exclude: ^(pylint_qua_plugin|tests/pylint_plugin|tests)/
exclude: ^quam-builder/(pylint_qua_plugin|tests/pylint_plugin|tests)/
# 4. Type checking – heavier, so run on push instead of every commit
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.1
Expand Down
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ enable=E, R, F, C
# - invalid-name: Module names start with numbers (01a_time_of_flight), variables use physics conventions (I, Q)
# - import-error, no-name-in-module: quam_config is project-specific, pylint can't resolve it
# - too-many-locals: Quantum calibration code often needs many variables
disable=W, I, invalid-name, import-error, no-name-in-module, too-many-locals, duplicate-code, too-many-branches, too-many-return-statements, too-many-arguments, too-many-positional-arguments, too-many-lines, wrong-import-order, ungrouped-imports, consider-iterating-dictionary, use-implicit-booleaness-not-comparison-to-zero, unexpected-keyword-arg, undefined-all-variable, missing-module-docstring, missing-function-docstring, missing-class-docstring, missing-final-newline, line-too-long, wrong-import-position, import-outside-toplevel, consider-using-with, no-else-raise, unnecessary-dunder-call, undefined-variable, no-else-return, no-else-continue, too-many-instance-attributes, too-many-public-methods, useless-return, consider-using-in, use-dict-literal, no-value-for-parameter, too-few-public-methods, inconsistent-return-statements, unnecessary-comprehension, redefined-outer-name, use-implicit-booleaness-not-comparison, function-redefined, use-implicit-booleaness-not-comparison-to-string
disable=W, I, invalid-name, import-error, no-name-in-module, too-many-locals, duplicate-code, too-many-branches, too-many-return-statements, too-many-arguments, too-many-positional-arguments, too-many-lines, wrong-import-order, ungrouped-imports, consider-iterating-dictionary, unexpected-keyword-arg, undefined-all-variable, missing-module-docstring, missing-function-docstring, missing-class-docstring, missing-final-newline, line-too-long, wrong-import-position, import-outside-toplevel, consider-using-with, no-else-raise, unnecessary-dunder-call, undefined-variable, no-else-return, no-else-continue, too-many-instance-attributes, too-many-public-methods, useless-return, consider-using-in, use-dict-literal, no-value-for-parameter, too-few-public-methods, inconsistent-return-statements, unnecessary-comprehension, redefined-outer-name, function-redefined, use-implicit-booleaness-not-comparison-to-zero, use-implicit-booleaness-not-comparison, use-implicit-booleaness-not-comparison-to-string


[REPORTS]
Expand Down
4 changes: 4 additions & 0 deletions .qm_cluster_config.json.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"host": "172.16.33.114",
"cluster_name": "CS_4"
}
5 changes: 5 additions & 0 deletions .qm_saas_credentials.json.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"email": "YOUR_EMAIL",
"password": "YOUR_PASSWORD",
"host": "qm-saas.dev.quantum-machines.co"
}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [0.2.0] - 2025-10-29
### Added
- Complete architecture for single NV centers.
- Complete architecture for single NV centers.
- Macro class for the CZ gate on tunable transmons: `CZGate`
- Add the `CZGate` fidelity and extras as dictionaries.
- Architecture components for Quantum Dots: added support for `VoltageGate`, `GateSet`, `VoltageSequence`, `VirtualGateSet`, and `VirtualizationLayer`.
Expand Down
Loading