Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
8f57f49
:sparkles: color code routing and snake construction for sc and cc
LSHerzog Mar 31, 2025
ff2f300
🎨 pre-commit fixes
pre-commit-ci[bot] Mar 31, 2025
2facf4d
:rotating_light: resolved some ruff issues
LSHerzog Apr 2, 2025
54984fe
removed assertions s.t. set M can be constructed for d=3 (snakebuilde…
LSHerzog Apr 7, 2025
15d70e2
🎨 pre-commit fixes
pre-commit-ci[bot] Apr 7, 2025
3523ba0
:rotating_light: added test for hill climbing, started correcting mypy
LSHerzog Apr 8, 2025
0515289
🎨 pre-commit fixes
pre-commit-ci[bot] Apr 8, 2025
1d97b44
Remove C++ part of package. (#390)
pehamTom Apr 8, 2025
fa07fa2
:rotating_light: resolved approx. 100 mypy issues
LSHerzog Apr 10, 2025
70f2a9d
tutorial update
LSHerzog Apr 10, 2025
4d642ee
🎨 pre-commit fixes
pre-commit-ci[bot] Apr 10, 2025
285a4b2
:memo: added note in readme
LSHerzog Apr 10, 2025
860d33b
keep nb cell outputs
LSHerzog Apr 10, 2025
9c2884f
removed comment
LSHerzog Apr 10, 2025
16f28a6
resolved some mypy issues
LSHerzog Apr 10, 2025
3e59e25
Update README.md
LSHerzog Apr 11, 2025
21da2b5
remaining mypy issues solved locally, excluded ipynb from disallow-ca…
LSHerzog Jun 13, 2025
799a814
:heavy_plus_sign: added qiskit-aer
LSHerzog Jun 16, 2025
af7a398
Merge remote-tracking branch 'origin/main' into ls-compilation
LSHerzog Jul 9, 2025
d556144
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 9, 2025
7331bf1
added pandas dependency for python 3.9 tests
LSHerzog Jul 9, 2025
7e13a11
pandas dependency
LSHerzog Jul 9, 2025
da36b40
added networkx dependency
LSHerzog Jul 10, 2025
2f68b55
remove the depencies again
LSHerzog Jul 10, 2025
7830200
moved plots/eval to scripts, adapted paths, adapted rst file
LSHerzog Jul 10, 2025
a850dbb
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 10, 2025
d0fda9e
tidy up related files for the movement of plots into scripts
LSHerzog Jul 11, 2025
4f08141
remove duplicate files
LSHerzog Jul 11, 2025
381174a
remove duplicate files
LSHerzog Jul 11, 2025
d4bc2f8
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 11, 2025
16cba2c
another try to add networkx as dependency
LSHerzog Jul 11, 2025
53dee26
added description in documentation
LSHerzog Jul 11, 2025
c77f1d6
attempt to address CodeQL issues
LSHerzog Jul 11, 2025
7c2d6d9
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 11, 2025
40f902e
another try for CodeQL
LSHerzog Jul 11, 2025
20ef0aa
another try for CodeQL
LSHerzog Jul 11, 2025
b6fe1ef
further CodeQL issues + remove commented out codes
LSHerzog Jul 11, 2025
515e294
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 11, 2025
c725268
remove commented out code i forgot
LSHerzog Jul 11, 2025
3b86aa4
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 11, 2025
9e6da02
added tests for misc
LSHerzog Jul 11, 2025
6219108
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 11, 2025
295bff7
mypy error in test_misc
LSHerzog Jul 14, 2025
838331f
mypy errors in test_misc
LSHerzog Jul 14, 2025
084a2a8
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 14, 2025
2582517
Add inits to subfolders so that autodoc documents co3.
pehamTom Jul 15, 2025
d91ccea
mainly changes in co3.md
LSHerzog Jul 17, 2025
4faa4a6
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 17, 2025
329c103
repaired bugs in VDP subroutine (now smaller final depth possible)
LSHerzog Jul 18, 2025
8e8befe
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 18, 2025
ef99b5b
added comments for CodeQL
LSHerzog Jul 18, 2025
20ecbf0
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 18, 2025
c97683a
added plots
LSHerzog Jul 19, 2025
ccd9b0b
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 19, 2025
2cc5787
updated nb
LSHerzog Jul 19, 2025
71e9d04
attempt to make doc jupyter cells work, CodeQL issue
LSHerzog Jul 19, 2025
e963dce
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 19, 2025
415dbf7
attempt to make docs work
LSHerzog Jul 21, 2025
d685738
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 21, 2025
2e8462d
cleaned up snake_builder
LSHerzog Jul 22, 2025
3ed3f86
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 22, 2025
7d3bc8e
moved helper function from misc into tests, added tests, removed usel…
LSHerzog Jul 23, 2025
58b9f7c
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 23, 2025
f15926e
attempt to resolve relative import problem
LSHerzog Jul 23, 2025
7c7cf6b
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 23, 2025
14a5aec
ruff and import problem
LSHerzog Jul 24, 2025
809ed13
🎨 pre-commit fixes
pre-commit-ci[bot] Jul 24, 2025
23c996b
layout adaption in scripts
LSHerzog Aug 19, 2025
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
13 changes: 0 additions & 13 deletions .clang-format

This file was deleted.

69 changes: 0 additions & 69 deletions .clang-tidy

This file was deleted.

4 changes: 0 additions & 4 deletions .cmake-format.yaml

This file was deleted.

4 changes: 1 addition & 3 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ body:
attributes:
label: Environment information
description: >-
Please provide information about your environment. For example, OS, C++ compiler, mqt.qecc version etc.
Please provide information about your environment. For example, OS, mqt.qecc version etc.
placeholder: |
- OS:
- C++ compiler:
- mqt.core version:
- Additional environment information:
validations:
required: true
Expand Down
19 changes: 19 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Security Policy

## Supported Versions

Security updates are applied only to the most recent releases.

## Reporting a Vulnerability

To report vulnerabilities, you can privately report a potential security issue
via the GitHub security vulnerabilities feature. This can be done here:

https://github.com/cda-tum/mqt-qecc/security/advisories

Please do **not** open a public issue about a potential security vulnerability.

You can find more details on the security vulnerability feature in the GitHub
documentation here:

https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability
11 changes: 0 additions & 11 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ignore:
- "**/python"
- "test/**/*"
- "src/mqt/qecc/cc_decoder/plots.py"
- "src/mqt/qecc/analog_information_decoding/utils/data_utils.py"
Expand All @@ -24,10 +23,6 @@ flag_management:
target: 90%
threshold: 1%
individual_flags:
- name: cpp
paths:
- "include"
- "src"
- name: python
paths:
- "src/mqt/**/*.py"
Expand All @@ -39,12 +34,6 @@ flag_management:
target: 95%
threshold: 1%

parsers:
gcov:
branch_detection:
conditional: no
loop: no

comment:
layout: "reach, diff, flags, files"
require_changes: true
Expand Down
77 changes: 77 additions & 0 deletions .github/contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Contributing

Thank you for your interest in contributing to this project.
We value contributions from people with all levels of experience.
In particular if this is your first pull request not everything has to be perfect.
We will guide you through the process.

We use GitHub to [host code](https://github.com/cda-tum/mqt-qecc), to [track issues and feature requests](https://github.com/cda-tum/mqt-qecc/issues), as well as accept [pull requests](https://github.com/cda-tum/mqt-qecc/pulls).
See <https://docs.github.com/en/get-started/quickstart> for a general introduction to working with GitHub and contributing to projects.

## Types of Contributions

You can contribute in several ways:

- 🐛 Report Bugs
: Report bugs at <https://github.com/cda-tum/mqt-qecc/issues> using the _🐛 Bug report_ issue template. Please make sure to fill out all relevant information in the respective issue form.

- 🐛 Fix Bugs
: Look through the [GitHub Issues](https://github.com/cda-tum/mqt-qecc/issues) for bugs. Anything tagged with "bug" is open to whoever wants to try and fix it.

- ✨ Propose New Features
: Propose new features at <https://github.com/cda-tum/mqt-qecc/issues> using the _✨ Feature request_ issue template. Please make sure to fill out all relevant information in the respective issue form.

- ✨ Implement New Features
: Look through the [GitHub Issues](https://github.com/cda-tum/mqt-qecc/issues) for features. Anything tagged with "feature" or "enhancement" is open to whoever wants to implement it. We highly appreciate external contributions to the project.

- 📝 Write Documentation
: MQT QECC could always use some more documentation, and we appreciate any help with that.

## Get Started 🎉

Ready to contribute? Check out the {doc}`Development Guide <DevelopmentGuide>` to set up MQT QECC for local development and learn about the style guidelines and conventions used throughout the project.

We value contributions from people with all levels of experience.
In particular, if this is your first PR, not everything has to be perfect.
We will guide you through the PR process.
Nevertheless, please try to follow the guidelines below as well as you can to help make the PR process quick and smooth.

## Core Guidelines

- ["Commit early and push often"](https://www.worklytics.co/blog/commit-early-push-often).
- Write meaningful commit messages, preferably using [gitmoji](https://gitmoji.dev) for additional context.
- Focus on a single feature or bug at a time and only touch relevant files. Split multiple features into separate contributions.
- Add tests for new features to ensure they work as intended.
- Document new features appropriately.
- Add tests for bug fixes to demonstrate that the bug has been resolved.
- Document your code thoroughly and ensure it is readable.
- Keep your code clean by removing debug statements, leftover comments, and unrelated code.
- Check your code for style and linting errors before committing.
- Follow the project's coding standards and conventions.
- Be open to feedback and willing to make necessary changes based on code reviews.

## Pull Request Workflow

- Create PRs early. It is ok to create work-in-progress PRs. You may mark these as draft PRs on GitHub.
- Describe your PR with a descriptive title, reference any related issues by including the issue number in the PR description, and add a comprehensive description of the changes. Follow the provided PR template and do not delete any sections, except for the issue reference if your PR is not related to an issue.
- Whenever a PR is created or updated, several workflows on all supported platforms and versions of Python are executed. These workflows ensure that the project still builds, all tests pass, the code is properly formatted, and no new linting errors are introduced. Your PR must pass all these continuous integration (CI) checks before it can be merged.
- Once your PR is ready, change it from a draft PR to a regular PR and request a review from one of the project maintainers. Only request a review once you are done with your changes and the PR is ready to be reviewed. If you are unsure whether your PR is ready, ask in the PR comments. If you are a first-time contributor, request a review from one of the maintainers by mentioning them in a comment on the PR.
- If your PR gets a "Changes requested" review, address the feedback and update your PR by pushing to the same branch. Do not close the PR and open a new one. Respond to review comments on the PR (e.g., with "done 👍" or "done in @<commit>") to let the reviewer know that you have addressed the feedback. Note that reviewers do not get a notification if you just react to the review comment with an emoji. Write a comment to notify the reviewer. Do not resolve the review comments yourself. The reviewer will mark the comments as resolved once they are satisfied with the changes.
- Be sure to re-request a review once you have made changes after a code review so that maintainers know that the requests have been addressed.
- No need to squash commits before merging; we usually squash them to keep the history clean. We only merge without squashing if the commit history is clean and meaningful. Avoid rebasing or force-pushing your PR branch before merging, as it complicates reviews. You can rebase or clean up commits after addressing all review comments if desired.

Here are some tips for finding the cause of certain failures:

- If any of the `CI / 🐍 Test` checks fail, this indicates build errors or test failures in the Python part of the code base. Look through the respective logs on GitHub for any error or failure messages.
- If any of the `codecov/\*` checks fail, this means that your changes are not appropriately covered by tests or that the overall project coverage decreased too much. Ensure that you include tests for all your changes in the PR.
- If the `pre-commit.ci` check fails, some of the `pre-commit` checks failed and could not be fixed automatically by the _pre-commit.ci_ bot. Such failures are most likely related to the Python part of the code base. The individual log messages frequently provide helpful suggestions on how to fix the warnings.
- If the `docs/readthedocs.org:\*` check fails, the documentation could not be built properly. Inspect the corresponding log file for any errors.

---

This document was inspired by and partially adapted from

- <https://matplotlib.org/stable/devel/coding_guide.html>
- <https://opensource.creativecommons.org/contributing-code/pr-guidelines/>
- <https://yeoman.io/contributing/pull-request.html>
- <https://github.com/scikit-build/scikit-build>
81 changes: 0 additions & 81 deletions .github/contributing.rst

This file was deleted.

9 changes: 8 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
lockFileMaintenance: {
"enabled": true,
// "automerge": true, disabled due to endless update loops caused by setuptools_scm
"automerge": true,
},
configMigration: true,
labels: ["dependencies"],
Expand All @@ -33,6 +33,13 @@
"description": "Automerge patch updates",
"matchUpdateTypes": ["patch"],
"automerge": true
},
{
description: "Automerge minor updates for stable dependencies",
matchManagers: ["pep621", "pre-commit"],
matchUpdateTypes: ["minor", "patch"],
matchCurrentVersion: "!/^0/",
automerge: true
}
]
}
11 changes: 11 additions & 0 deletions .github/support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Support

If you are stuck with a problem using MQT QECC or have questions, please get in touch at our [Issues](https://github.com/cda-tum/mqt-qecc/issues) or [Discussions](https://github.com/cda-tum/mqt-qecc/discussions). We'd love to help.

You can save time by following this procedure when reporting a problem:

- Do try to solve the problem on your own first.
- Search through past [Issues](https://github.com/cda-tum/mqt-qecc/issues) and [Discussions](https://github.com/cda-tum/mqt-qecc/discussions) to see if someone else already had the same problem.
- Before filing a bug report, try to create a minimal working example (MWE) that reproduces the problem. It is much easier to identify the cause for the problem if a handful of lines suffice to show that something is not working.

You can also always reach us at [quantum.cda@xcit.tum.de](mailto:quantum.cda@xcit.tum.de).
12 changes: 0 additions & 12 deletions .github/support.rst

This file was deleted.

Loading
Loading