Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6026d16
Add SwapAbsorb pass
MatthiasReumann Apr 17, 2026
4b315aa
fix build for test_drivers.cpp
jmoosburger Apr 23, 2026
096e881
🎨 pre-commit fixes
pre-commit-ci[bot] Apr 23, 2026
eddce92
revert CompilerPipeline
jmoosburger Apr 25, 2026
cc11a85
⬆️🩹 Update patch updates (#1643)
renovate[bot] Apr 18, 2026
245e062
⬆️🩹 Update minor stable updates (#1644)
renovate[bot] Apr 18, 2026
2d04f32
🔧 Maintenance round (#1645)
denialhaag Apr 18, 2026
23be39d
⬆️🩹 Update actions/create-github-app-token action to v3.1.1 (#1646)
renovate[bot] Apr 18, 2026
23cf732
⬆️🩹 Update pre-commit hook henryiii/validate-pyproject-schema-store t…
renovate[bot] Apr 18, 2026
0f63f41
🎨 Reduce sorting during QIR creation (#1648)
denialhaag Apr 19, 2026
14dab48
⬆️🔒️ Lock file maintenance (#1649)
renovate[bot] Apr 20, 2026
011d4dc
✨ Add support for multi-controlled gates to ZX package (#1380)
keefehuang Apr 20, 2026
b4fc186
✨ Add rotation-gate merging using quaternions (#1407)
J4MMlE Apr 20, 2026
06d42ca
⬆️ Update QDMI to v1.3.0 (#1652)
burgholzer Apr 21, 2026
608f790
📝 Update changelog and upgrade guide after release of `v3.5.0` (#1656)
denialhaag Apr 21, 2026
0cc8502
🔧 Reconfigure `prek` priorities (#1657)
denialhaag Apr 22, 2026
2c58415
✨ Add rotation-gate merging using quaternions (#1407)
J4MMlE Apr 20, 2026
652534f
⬆️🩹 Update patch updates (#1669)
renovate[bot] Apr 25, 2026
8fc1e75
⬆️🐍 Update dependency ty to v0.0.31 (#1668)
renovate[bot] Apr 25, 2026
d6d7de9
⬆️🔒️ Lock file maintenance (#1670)
renovate[bot] Apr 27, 2026
f9297a8
✨Add `walkProgramGraph` driver (#1664)
MatthiasReumann Apr 28, 2026
d76d08e
🐛 Fix malformed include directories in exported `nlohmann_json` CMake…
burgholzer Apr 28, 2026
46742ec
🎨 Clean up `llvm` includes (#1673)
denialhaag Apr 29, 2026
0e61f87
🎨 Remove remaining explicit `llvm` namespaces (#1675)
denialhaag Apr 29, 2026
041cbf9
Add SwapAbsorb pass
MatthiasReumann Apr 17, 2026
2ba14ae
🎨 pre-commit fixes
pre-commit-ci[bot] Apr 23, 2026
8fa9853
revert CompilerPipeline
jmoosburger Apr 25, 2026
cc46aa1
revert CompilerPipeline
jmoosburger Apr 30, 2026
7690f33
test_swap_absorb PassDoesNotChangeSwaplessProgram
jmoosburger Apr 30, 2026
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/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ jobs:
uses: actions/attest@59d89421af93a897026c735860bf21b6eb4f7b26 # v4.1.0
with:
subject-path: dist/*
- uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
build-project: true
files-changed-only: true
setup-python: true
install-pkgs: "nanobind==2.11.0"
install-pkgs: "nanobind==2.12.0"
cpp-linter-extra-args: "-std=c++20"
setup-mlir: true
llvm-version: 22.1.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
contents: write
runs-on: ubuntu-slim
steps:
- uses: release-drafter/release-drafter@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7.1.1
- uses: release-drafter/release-drafter@5de93583980a40bd78603b6dfdcda5b4df377b32 # v7.2.0
2 changes: 1 addition & 1 deletion .github/workflows/templating.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
JSON_CONTENT=$(cat .github/workflow_inputs/release_drafter_categories.json | jq -c .)
echo "release_drafter_categories=$JSON_CONTENT" >> $GITHUB_OUTPUT
- id: create-token
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
Expand Down
3 changes: 2 additions & 1 deletion .license-tools-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
".*\\.tex",
"uv\\.lock",
"py\\.typed",
".*build.*"
".*build.*",
"(^|/)LICENSE$"
]
}
128 changes: 57 additions & 71 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ ci:
skip: [ty-check]

repos:
# Priority 0: Fast validation and independent fixers

## Standard hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
Expand All @@ -26,14 +24,7 @@ repos:
- id: end-of-file-fixer
priority: 1
- id: trailing-whitespace
priority: 1

## Check the pyproject.toml file
- repo: https://github.com/henryiii/validate-pyproject-schema-store
rev: 2026.04.03
hooks:
- id: validate-pyproject
priority: 0
priority: 2

## Check JSON schemata
- repo: https://github.com/python-jsonschema/check-jsonschema
Expand All @@ -44,7 +35,29 @@ repos:
- id: check-readthedocs
priority: 0

## Catch common capitalization mistakes
## Check best practices for scientific Python code
- repo: https://github.com/scientific-python/cookie
rev: 2026.04.04
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
priority: 0

## Check pyproject.toml file
- repo: https://github.com/henryiii/validate-pyproject-schema-store
rev: 2026.04.17
hooks:
- id: validate-pyproject
priority: 0

## Ensure uv.lock is up to date
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.7
hooks:
- id: uv-lock
priority: 0

## Check for common capitalization mistakes
- repo: local
hooks:
- id: disallow-caps
Expand All @@ -54,36 +67,21 @@ repos:
exclude: ^(\.pre-commit-config\.yaml)$
priority: 0

## Check for spelling
## Check for typos
- repo: https://github.com/adhtruong/mirrors-typos
rev: v1.45.0
rev: v1.45.1
hooks:
- id: typos
priority: 0

## Check best practices for scientific Python code
- repo: https://github.com/scientific-python/cookie
rev: 2026.04.04
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
priority: 0
priority: 3

## Check for license headers
## Check license headers
- repo: https://github.com/emzeat/mz-lictools
rev: v2.9.0
hooks:
- id: license-tools
priority: 0
priority: 4

## Ensure uv lock file is up-to-date
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.3
hooks:
- id: uv-lock
priority: 0

## Tidy up BibTeX files
## Format BibTeX files with bibtex-tidy
- repo: https://github.com/FlamingTempura/bibtex-tidy
rev: v1.14.0
hooks:
Expand All @@ -100,63 +98,51 @@ repos:
"--trailing-commas",
"--remove-empty-fields",
]
priority: 0
priority: 5

# Priority 1: Second-pass fixers

## Format C++ files with clang-format
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v22.1.2
## Format configuration files with prettier
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.8.3
hooks:
- id: clang-format
types_or: [c++, c, cuda]
priority: 1
- id: clang-format
name: clang-format (TableGen)
types_or: [file]
files: \.td$
priority: 1
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json, json5]
priority: 5

## Format CMakeLists.txt files
## Format CMake files with cmake-format
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-format
additional_dependencies: [pyyaml]
types: [file]
files: (\.cmake|CMakeLists.txt)(.in)?$
priority: 1
priority: 5

## Format configuration files with prettier
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.8.1
## Format C++ files with clang-format
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v22.1.3
hooks:
- id: prettier
types_or: [yaml, markdown, html, css, scss, javascript, json, json5]
priority: 1
- id: clang-format
types_or: [c++, c, cuda]
priority: 5
- id: clang-format
name: clang-format (TableGen)
types_or: [file]
files: \.td$
priority: 5

## Python linting using ruff
## Format and lint Python files with ruff
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.9
rev: v0.15.11
hooks:
- id: ruff-format
priority: 1
types_or: [python, pyi, jupyter, markdown]
priority: 6
- id: ruff-check
require_serial: true
priority: 2

# Priority 2+: Final checks and fixers
priority: 7

## Also run Black on examples in the documentation (needs to run after ruff format)
- repo: https://github.com/adamchainz/blacken-docs
rev: 1.20.0
hooks:
- id: blacken-docs
language: python
additional_dependencies: [black==26.*]
priority: 2

## Static type checking using ty (needs to run after lockfile update/ruff format, and ruff lint)
## Check Python types with ty
- repo: local
hooks:
- id: ty-check
Expand All @@ -167,4 +153,4 @@ repos:
types_or: [python, pyi, jupyter]
exclude: ^(docs/|mlir/|eval/)
pass_filenames: false
priority: 3
priority: 8
Loading