Skip to content

⬆️👨‍💻 Update munich-quantum-toolkit/workflows action to v1.10 #967

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 24, 2025

This PR contains the following updates:

Package Type Update Change
munich-quantum-toolkit/workflows action minor v1.9 -> v1.10

Release Notes

munich-quantum-toolkit/workflows (munich-quantum-toolkit/workflows)

v1.10

Compare Source


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot added dependencies Pull requests that update a dependency file github-actions Pull requests that update GitHub actions code labels May 24, 2025
@renovate renovate bot added the github-actions Pull requests that update GitHub actions code label May 24, 2025
Copy link

codecov bot commented May 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@burgholzer
Copy link
Member

@ystade could you maybe take care of this similarly to how you took care of the PR in QMAP?
Or could this be something for @BertiFlorea? 😌

You might have to temporarily set "files-changed-only: false" on the clang-tidy workflow to make sure it runs on the bindings file.

Copy link
Contributor Author

renovate bot commented May 28, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@@ -123,16 +123,15 @@ jobs:
name: 🇨‌ Coverage
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-cpp-tests)
uses: munich-quantum-toolkit/workflows/.github/workflows/[email protected]
uses: munich-quantum-toolkit/workflows/.github/workflows/[email protected]
permissions:
contents: read
id-token: write

cpp-linter:
name: 🇨‌ Lint
needs: change-detection
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
needs: change-detection
needs: change-detection
if: fromJSON(needs.change-detection.outputs.run-cpp-linter)

@ystade
Copy link
Collaborator

ystade commented May 28, 2025

Locally everything went through already without any changes, so I do not expect any problems here either.

with:
cmake-args: -DBUILD_MQT_CORE_BENCHMARKS=ON -DBUILD_MQT_CORE_MLIR=ON
clang-version: 20
build-project: true
files-changed-only: false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
files-changed-only: false

Copy link
Contributor

github-actions bot commented May 28, 2025

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-tidy (v20.1.6) reports: 147 concern(s)
  • src/python/dd/register_dd.cpp:12:1: warning: [misc-include-cleaner]

    included header DDpackageConfig.hpp is not used directly

       12 | #include "dd/DDpackageConfig.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | #include "dd/FunctionalityConstruction.hpp"
  • src/python/dd/register_dd.cpp:13:1: warning: [misc-include-cleaner]

    included header FunctionalityConstruction.hpp is not used directly

       13 | #include "dd/FunctionalityConstruction.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       14 | #include "dd/Node.hpp"
  • src/python/dd/register_dd.cpp:15:1: warning: [misc-include-cleaner]

    included header Package.hpp is not used directly

       15 | #include "dd/Package.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~
       16 | #include "dd/Simulation.hpp"
  • src/python/dd/register_dd.cpp:16:1: warning: [misc-include-cleaner]

    included header Simulation.hpp is not used directly

       16 | #include "dd/Simulation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
       17 | #include "ir/QuantumComputation.hpp"
  • src/python/dd/register_dd.cpp:17:1: warning: [misc-include-cleaner]

    included header QuantumComputation.hpp is not used directly

       17 | #include "ir/QuantumComputation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       18 | #include "python/pybind11.hpp"
  • src/python/dd/register_dd.cpp:18:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       18 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       19 | 
  • src/python/dd/register_dd.cpp:20:1: warning: [misc-include-cleaner]

    included header complex is not used directly

       20 | #include <complex>
          | ^~~~~~~~~~~~~~~~~~
       21 | #include <cstddef>
  • src/python/dd/register_dd.cpp:22:1: warning: [misc-include-cleaner]

    included header memory is not used directly

       22 | #include <memory>
          | ^~~~~~~~~~~~~~~~~
       23 | #include <pybind11/numpy.h>
  • src/python/dd/register_dd.cpp:24:1: warning: [misc-include-cleaner]

    included header vector is not used directly

       24 | #include <vector>
          | ^~~~~~~~~~~~~~~~~
       25 | 
  • src/python/dd/register_dd.cpp:41:8: warning: [cppcoreguidelines-pro-type-member-init]

    constructor does not initialize these fields: data, n

       41 | struct Matrix {
          |        ^
       42 |   std::vector<std::complex<dd::fp>> data;
          |                                         
          |                                         {}
       43 |   size_t n;
          |           
          |           {}
  • src/python/dd/register_dd.cpp:47:1: warning: [cppcoreguidelines-avoid-non-const-global-variables]

    variable 'PYBIND11_MODULE' is non-const and globally accessible, consider making it const

       47 | PYBIND11_MODULE(dd, mod, py::mod_gil_not_used()) {
          | ^
  • src/python/dd/register_dd.cpp:47:1: warning: [misc-use-internal-linkage]

    variable 'PYBIND11_MODULE' can be made static or moved into an anonymous namespace to enforce internal linkage

       47 | PYBIND11_MODULE(dd, mod, py::mod_gil_not_used()) {
          | ^
          | static 
  • src/python/dd/register_dd.cpp:47:1: warning: [readability-identifier-naming]

    invalid case style for variable 'PYBIND11_MODULE'

       47 | PYBIND11_MODULE(dd, mod, py::mod_gil_not_used()) {
          | ^~~~~~~~~~~~~~~
          | pybinD11Module
  • src/python/dd/register_vector_dds.cpp:13:1: warning: [misc-include-cleaner]

    included header Export.hpp is not used directly

       13 | #include "dd/Export.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~
       14 | #include "dd/Node.hpp"
  • src/python/dd/register_vector_dds.cpp:15:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       15 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       16 | 
  • src/python/dd/register_vector_dds.cpp:18:1: warning: [misc-include-cleaner]

    included header complex is not used directly

       18 | #include <complex>
          | ^~~~~~~~~~~~~~~~~~
       19 | #include <cstddef>
  • src/python/dd/register_vector_dds.cpp:19:1: warning: [misc-include-cleaner]

    included header cstddef is not used directly

       19 | #include <cstddef>
          | ^~~~~~~~~~~~~~~~~~
       20 | #include <pybind11/numpy.h>
  • src/python/dd/register_vector_dds.cpp:21:1: warning: [misc-include-cleaner]

    included header sstream is not used directly

       21 | #include <sstream>
          | ^~~~~~~~~~~~~~~~~~
       22 | #include <string>
  • src/python/dd/register_vector_dds.cpp:22:1: warning: [misc-include-cleaner]

    included header string is not used directly

       22 | #include <string>
          | ^~~~~~~~~~~~~~~~~
       23 | 
  • src/python/dd/register_vector_dds.cpp:33:8: warning: [misc-use-internal-linkage]

    function 'getVector' can be made static or moved into an anonymous namespace to enforce internal linkage

       33 | Vector getVector(const dd::vEdge& v, const dd::fp threshold = 0.) {
          |        ^
          | static 
  • src/python/dd/register_vector_dds.cpp:37:6: warning: [misc-use-internal-linkage]

    function 'registerVectorDDs' can be made static or moved into an anonymous namespace to enforce internal linkage

       37 | void registerVectorDDs(const py::module& mod) {
          |      ^
          | static 
  • src/python/dd/register_matrix_dds.cpp:13:1: warning: [misc-include-cleaner]

    included header Export.hpp is not used directly

       13 | #include "dd/Export.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~
       14 | #include "dd/Node.hpp"
  • src/python/dd/register_matrix_dds.cpp:15:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       15 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       16 | 
  • src/python/dd/register_matrix_dds.cpp:21:1: warning: [misc-include-cleaner]

    included header sstream is not used directly

       21 | #include <sstream>
          | ^~~~~~~~~~~~~~~~~~
       22 | #include <string>
  • src/python/dd/register_matrix_dds.cpp:22:1: warning: [misc-include-cleaner]

    included header string is not used directly

       22 | #include <string>
          | ^~~~~~~~~~~~~~~~~
       23 | #include <vector>
  • src/python/dd/register_matrix_dds.cpp:23:1: warning: [misc-include-cleaner]

    included header vector is not used directly

       23 | #include <vector>
          | ^~~~~~~~~~~~~~~~~
       24 | 
  • src/python/dd/register_matrix_dds.cpp:30:8: warning: [cppcoreguidelines-pro-type-member-init]

    constructor does not initialize these fields: data, n

       30 | struct Matrix {
          |        ^
       31 |   std::vector<std::complex<dd::fp>> data;
          |                                         
          |                                         {}
       32 |   size_t n;
          |           
          |           {}
  • src/python/dd/register_matrix_dds.cpp:35:8: warning: [misc-use-internal-linkage]

    function 'getMatrix' can be made static or moved into an anonymous namespace to enforce internal linkage

       35 | Matrix getMatrix(const dd::mEdge& m, const size_t numQubits,
          |        ^
          | static 
  • src/python/dd/register_matrix_dds.cpp:50:6: warning: [misc-use-internal-linkage]

    function 'registerMatrixDDs' can be made static or moved into an anonymous namespace to enforce internal linkage

       50 | void registerMatrixDDs(const py::module& mod) {
          |      ^
          | static 
  • src/python/dd/register_dd_package.cpp:14:1: warning: [misc-include-cleaner]

    included header Operations.hpp is not used directly

       14 | #include "dd/Operations.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
       15 | #include "dd/Package.hpp"
  • src/python/dd/register_dd_package.cpp:16:1: warning: [misc-include-cleaner]

    included header Permutation.hpp is not used directly

       16 | #include "ir/Permutation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       17 | #include "ir/operations/ClassicControlledOperation.hpp"
  • src/python/dd/register_dd_package.cpp:17:1: warning: [misc-include-cleaner]

    included header ClassicControlledOperation.hpp is not used directly

       17 | #include "ir/operations/ClassicControlledOperation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       18 | #include "ir/operations/Control.hpp"
  • src/python/dd/register_dd_package.cpp:18:1: warning: [misc-include-cleaner]

    included header Control.hpp is not used directly

       18 | #include "ir/operations/Control.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       19 | #include "ir/operations/NonUnitaryOperation.hpp"
  • src/python/dd/register_dd_package.cpp:19:1: warning: [misc-include-cleaner]

    included header NonUnitaryOperation.hpp is not used directly

       19 | #include "ir/operations/NonUnitaryOperation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       20 | #include "ir/operations/Operation.hpp"
  • src/python/dd/register_dd_package.cpp:20:1: warning: [misc-include-cleaner]

    included header Operation.hpp is not used directly

       20 | #include "ir/operations/Operation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       21 | #include "python/pybind11.hpp"
  • src/python/dd/register_dd_package.cpp:21:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       21 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       22 | 
  • src/python/dd/register_dd_package.cpp:24:1: warning: [misc-include-cleaner]

    included header complex is not used directly

       24 | #include <complex>
          | ^~~~~~~~~~~~~~~~~~
       25 | #include <cstddef>
  • src/python/dd/register_dd_package.cpp:26:1: warning: [misc-include-cleaner]

    included header memory is not used directly

       26 | #include <memory>
          | ^~~~~~~~~~~~~~~~~
       27 | #include <pybind11/numpy.h>
  • src/python/dd/register_dd_package.cpp:28:1: warning: [misc-include-cleaner]

    included header random is not used directly

       28 | #include <random>
          | ^~~~~~~~~~~~~~~~~
       29 | #include <stdexcept>
  • src/python/dd/register_dd_package.cpp:29:1: warning: [misc-include-cleaner]

    included header stdexcept is not used directly

       29 | #include <stdexcept>
          | ^~~~~~~~~~~~~~~~~~~~
       30 | #include <utility>
  • src/python/dd/register_dd_package.cpp:30:1: warning: [misc-include-cleaner]

    included header utility is not used directly

       30 | #include <utility>
          | ^~~~~~~~~~~~~~~~~~
       31 | #include <vector>
  • src/python/dd/register_dd_package.cpp:31:1: warning: [misc-include-cleaner]

    included header vector is not used directly

       31 | #include <vector>
          | ^~~~~~~~~~~~~~~~~
       32 | 
  • src/python/dd/register_dd_package.cpp:87:6: warning: [misc-use-internal-linkage]

    function 'registerDDPackage' can be made static or moved into an anonymous namespace to enforce internal linkage

       87 | void registerDDPackage(const py::module& mod) {
          |      ^
          | static 
  • src/python/ir/register_permutation.cpp:11:1: warning: [misc-include-cleaner]

    included header Definitions.hpp is not used directly

       11 | #include "ir/Definitions.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "ir/Permutation.hpp"
  • src/python/ir/register_permutation.cpp:12:1: warning: [misc-include-cleaner]

    included header Permutation.hpp is not used directly

       12 | #include "ir/Permutation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | #include "ir/operations/Control.hpp"
  • src/python/ir/register_permutation.cpp:13:1: warning: [misc-include-cleaner]

    included header Control.hpp is not used directly

       13 | #include "ir/operations/Control.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       14 | #include "python/pybind11.hpp"
  • src/python/ir/register_permutation.cpp:14:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       14 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       15 | 
  • src/python/ir/register_permutation.cpp:17:1: warning: [misc-include-cleaner]

    included header sstream is not used directly

       17 | #include <sstream>
          | ^~~~~~~~~~~~~~~~~~
       18 | 
  • src/python/ir/register_permutation.cpp:21:6: warning: [misc-use-internal-linkage]

    function 'registerPermutation' can be made static or moved into an anonymous namespace to enforce internal linkage

       21 | void registerPermutation(py::module& m) {
          |      ^
          | static 
  • src/python/ir/register_ir.cpp:11:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       11 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | 
  • src/python/ir/register_ir.cpp:25:1: warning: [misc-use-internal-linkage]

    function 'PYBIND11_MODULE' can be made static or moved into an anonymous namespace to enforce internal linkage

       25 | PYBIND11_MODULE(ir, m, py::mod_gil_not_used()) {
          | ^
          | static 
  • src/python/ir/register_ir.cpp:25:1: warning: [readability-identifier-naming]

    invalid case style for function 'PYBIND11_MODULE'

       25 | PYBIND11_MODULE(ir, m, py::mod_gil_not_used()) {
          | ^~~~~~~~~~~~~~~
          | pybinD11Module
  • src/python/ir/register_ir.cpp:25:19: warning: [readability-named-parameter]

    all parameters should be named in a function

       25 | PYBIND11_MODULE(ir, m, py::mod_gil_not_used()) {
          |                   ^                         
          |                    /*unused*/  /*unused*/    /*unused*/
  • src/python/ir/register_symbolic.cpp:11:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       11 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | 
  • src/python/ir/register_symbolic.cpp:20:6: warning: [misc-use-internal-linkage]

    function 'registerSymbolic' can be made static or moved into an anonymous namespace to enforce internal linkage

       20 | void registerSymbolic(pybind11::module& m) {
          |      ^
          | static 
  • src/python/ir/register_operations.cpp:11:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       11 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | 
  • src/python/ir/register_operations.cpp:25:6: warning: [misc-use-internal-linkage]

    function 'registerOperations' can be made static or moved into an anonymous namespace to enforce internal linkage

       25 | void registerOperations(py::module& m) {
          |      ^
          | static 
  • src/python/ir/register_registers.cpp:11:1: warning: [misc-include-cleaner]

    included header Definitions.hpp is not used directly

       11 | #include "ir/Definitions.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "ir/Register.hpp"
  • src/python/ir/register_registers.cpp:12:1: warning: [misc-include-cleaner]

    included header Register.hpp is not used directly

       12 | #include "ir/Register.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | #include "python/pybind11.hpp"
  • src/python/ir/register_registers.cpp:13:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       13 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       14 | 
  • src/python/ir/register_registers.cpp:15:1: warning: [misc-include-cleaner]

    included header cstddef is not used directly

       15 | #include <cstddef>
          | ^~~~~~~~~~~~~~~~~~
       16 | #include <pybind11/operators.h>
  • src/python/ir/register_registers.cpp:17:1: warning: [misc-include-cleaner]

    included header string is not used directly

       17 | #include <string>
          | ^~~~~~~~~~~~~~~~~
       18 | 
  • src/python/ir/register_registers.cpp:21:6: warning: [misc-use-internal-linkage]

    function 'registerRegisters' can be made static or moved into an anonymous namespace to enforce internal linkage

       21 | void registerRegisters(py::module& m) {
          |      ^
          | static 
  • src/python/ir/register_quantum_computation.cpp:11:1: warning: [misc-include-cleaner]

    included header Definitions.hpp is not used directly

       11 | #include "ir/Definitions.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "ir/QuantumComputation.hpp"
  • src/python/ir/register_quantum_computation.cpp:13:1: warning: [misc-include-cleaner]

    included header ClassicControlledOperation.hpp is not used directly

       13 | #include "ir/operations/ClassicControlledOperation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       14 | #include "ir/operations/Control.hpp"
  • src/python/ir/register_quantum_computation.cpp:14:1: warning: [misc-include-cleaner]

    included header Control.hpp is not used directly

       14 | #include "ir/operations/Control.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       15 | #include "ir/operations/Expression.hpp"
  • src/python/ir/register_quantum_computation.cpp:15:1: warning: [misc-include-cleaner]

    included header Expression.hpp is not used directly

       15 | #include "ir/operations/Expression.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       16 | #include "ir/operations/OpType.hpp"
  • src/python/ir/register_quantum_computation.cpp:16:1: warning: [misc-include-cleaner]

    included header OpType.hpp is not used directly

       16 | #include "ir/operations/OpType.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       17 | #include "ir/operations/Operation.hpp"
  • src/python/ir/register_quantum_computation.cpp:17:1: warning: [misc-include-cleaner]

    included header Operation.hpp is not used directly

       17 | #include "ir/operations/Operation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       18 | #include "python/pybind11.hpp"
  • src/python/ir/register_quantum_computation.cpp:18:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       18 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       19 | #include "qasm3/Importer.hpp"
  • src/python/ir/register_quantum_computation.cpp:21:1: warning: [misc-include-cleaner]

    included header cstddef is not used directly

       21 | #include <cstddef>
          | ^~~~~~~~~~~~~~~~~~
       22 | #include <cstdint>
  • src/python/ir/register_quantum_computation.cpp:22:1: warning: [misc-include-cleaner]

    included header cstdint is not used directly

       22 | #include <cstdint>
          | ^~~~~~~~~~~~~~~~~~
       23 | #include <memory>
  • src/python/ir/register_quantum_computation.cpp:23:1: warning: [misc-include-cleaner]

    included header memory is not used directly

       23 | #include <memory>
          | ^~~~~~~~~~~~~~~~~
       24 | #include <stdexcept>
  • src/python/ir/register_quantum_computation.cpp:24:1: warning: [misc-include-cleaner]

    included header stdexcept is not used directly

       24 | #include <stdexcept>
          | ^~~~~~~~~~~~~~~~~~~~
       25 | #include <string>
  • src/python/ir/register_quantum_computation.cpp:25:1: warning: [misc-include-cleaner]

    included header string is not used directly

       25 | #include <string>
          | ^~~~~~~~~~~~~~~~~
       26 | #include <utility>
  • src/python/ir/register_quantum_computation.cpp:26:1: warning: [misc-include-cleaner]

    included header utility is not used directly

       26 | #include <utility>
          | ^~~~~~~~~~~~~~~~~~
       27 | #include <vector>
  • src/python/ir/register_quantum_computation.cpp:27:1: warning: [misc-include-cleaner]

    included header vector is not used directly

       27 | #include <vector>
          | ^~~~~~~~~~~~~~~~~
       28 | 
  • src/python/ir/register_quantum_computation.cpp:34:6: warning: [misc-use-internal-linkage]

    function 'registerQuantumComputation' can be made static or moved into an anonymous namespace to enforce internal linkage

       34 | void registerQuantumComputation(py::module& m) {
          |      ^
          | static 
  • src/python/ir/operations/register_optype.cpp:11:1: warning: [misc-include-cleaner]

    included header OpType.hpp is not used directly

       11 | #include "ir/operations/OpType.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "python/pybind11.hpp"
  • src/python/ir/operations/register_optype.cpp:12:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       12 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | 
  • src/python/ir/operations/register_optype.cpp:14:1: warning: [misc-include-cleaner]

    included header string is not used directly

       14 | #include <string>
          | ^~~~~~~~~~~~~~~~~
       15 | 
  • src/python/ir/operations/register_optype.cpp:18:6: warning: [misc-use-internal-linkage]

    function 'registerOptype' can be made static or moved into an anonymous namespace to enforce internal linkage

       18 | void registerOptype(const py::module& m) {
          |      ^
          | static 
  • src/python/ir/operations/register_compound_operation.cpp:11:1: warning: [misc-include-cleaner]

    included header CompoundOperation.hpp is not used directly

       11 | #include "ir/operations/CompoundOperation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "ir/operations/Operation.hpp"
  • src/python/ir/operations/register_compound_operation.cpp:12:1: warning: [misc-include-cleaner]

    included header Operation.hpp is not used directly

       12 | #include "ir/operations/Operation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | #include "python/pybind11.hpp"
  • src/python/ir/operations/register_compound_operation.cpp:13:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       13 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       14 | 
  • src/python/ir/operations/register_compound_operation.cpp:15:1: warning: [misc-include-cleaner]

    included header cstddef is not used directly

       15 | #include <cstddef>
          | ^~~~~~~~~~~~~~~~~~
       16 | #include <memory>
  • src/python/ir/operations/register_compound_operation.cpp:16:1: warning: [misc-include-cleaner]

    included header memory is not used directly

       16 | #include <memory>
          | ^~~~~~~~~~~~~~~~~
       17 | #include <sstream>
  • src/python/ir/operations/register_compound_operation.cpp:17:1: warning: [misc-include-cleaner]

    included header sstream is not used directly

       17 | #include <sstream>
          | ^~~~~~~~~~~~~~~~~~
       18 | #include <utility>
  • src/python/ir/operations/register_compound_operation.cpp:18:1: warning: [misc-include-cleaner]

    included header utility is not used directly

       18 | #include <utility>
          | ^~~~~~~~~~~~~~~~~~
       19 | #include <vector>
  • src/python/ir/operations/register_compound_operation.cpp:19:1: warning: [misc-include-cleaner]

    included header vector is not used directly

       19 | #include <vector>
          | ^~~~~~~~~~~~~~~~~
       20 | 
  • src/python/ir/operations/register_compound_operation.cpp:26:6: warning: [misc-use-internal-linkage]

    function 'registerCompoundOperation' can be made static or moved into an anonymous namespace to enforce internal linkage

       26 | void registerCompoundOperation(const py::module& m) {
          |      ^
          | static 
  • src/python/ir/operations/register_control.cpp:11:1: warning: [misc-include-cleaner]

    included header Definitions.hpp is not used directly

       11 | #include "ir/Definitions.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "ir/operations/Control.hpp"
  • src/python/ir/operations/register_control.cpp:13:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       13 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       14 | 
  • src/python/ir/operations/register_control.cpp:19:6: warning: [misc-use-internal-linkage]

    function 'registerControl' can be made static or moved into an anonymous namespace to enforce internal linkage

       19 | void registerControl(const py::module& m) {
          |      ^
          | static 
  • src/python/ir/operations/register_non_unitary_operation.cpp:11:1: warning: [misc-include-cleaner]

    included header Definitions.hpp is not used directly

       11 | #include "ir/Definitions.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "ir/operations/NonUnitaryOperation.hpp"
  • src/python/ir/operations/register_non_unitary_operation.cpp:12:1: warning: [misc-include-cleaner]

    included header NonUnitaryOperation.hpp is not used directly

       12 | #include "ir/operations/NonUnitaryOperation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | #include "ir/operations/OpType.hpp"
  • src/python/ir/operations/register_non_unitary_operation.cpp:13:1: warning: [misc-include-cleaner]

    included header OpType.hpp is not used directly

       13 | #include "ir/operations/OpType.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       14 | #include "ir/operations/Operation.hpp"
  • src/python/ir/operations/register_non_unitary_operation.cpp:14:1: warning: [misc-include-cleaner]

    included header Operation.hpp is not used directly

       14 | #include "ir/operations/Operation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       15 | #include "python/pybind11.hpp"
  • src/python/ir/operations/register_non_unitary_operation.cpp:15:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       15 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       16 | 
  • src/python/ir/operations/register_non_unitary_operation.cpp:17:1: warning: [misc-include-cleaner]

    included header sstream is not used directly

       17 | #include <sstream>
          | ^~~~~~~~~~~~~~~~~~
       18 | #include <vector>
  • src/python/ir/operations/register_non_unitary_operation.cpp:18:1: warning: [misc-include-cleaner]

    included header vector is not used directly

       18 | #include <vector>
          | ^~~~~~~~~~~~~~~~~
       19 | 
  • src/python/ir/operations/register_non_unitary_operation.cpp:22:6: warning: [misc-use-internal-linkage]

    function 'registerNonUnitaryOperation' can be made static or moved into an anonymous namespace to enforce internal linkage

       22 | void registerNonUnitaryOperation(const py::module& m) {
          |      ^
          | static 
  • src/python/ir/operations/register_standard_operation.cpp:11:1: warning: [misc-include-cleaner]

    included header Definitions.hpp is not used directly

       11 | #include "ir/Definitions.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "ir/operations/Control.hpp"
  • src/python/ir/operations/register_standard_operation.cpp:12:1: warning: [misc-include-cleaner]

    included header Control.hpp is not used directly

       12 | #include "ir/operations/Control.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | #include "ir/operations/OpType.hpp"
  • src/python/ir/operations/register_standard_operation.cpp:13:1: warning: [misc-include-cleaner]

    included header OpType.hpp is not used directly

       13 | #include "ir/operations/OpType.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       14 | #include "ir/operations/Operation.hpp"
  • src/python/ir/operations/register_standard_operation.cpp:14:1: warning: [misc-include-cleaner]

    included header Operation.hpp is not used directly

       14 | #include "ir/operations/Operation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       15 | #include "ir/operations/StandardOperation.hpp"
  • src/python/ir/operations/register_standard_operation.cpp:15:1: warning: [misc-include-cleaner]

    included header StandardOperation.hpp is not used directly

       15 | #include "ir/operations/StandardOperation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       16 | #include "python/pybind11.hpp"
  • src/python/ir/operations/register_standard_operation.cpp:16:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       16 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       17 | 
  • src/python/ir/operations/register_standard_operation.cpp:18:1: warning: [misc-include-cleaner]

    included header sstream is not used directly

       18 | #include <sstream>
          | ^~~~~~~~~~~~~~~~~~
       19 | #include <vector>
  • src/python/ir/operations/register_standard_operation.cpp:19:1: warning: [misc-include-cleaner]

    included header vector is not used directly

       19 | #include <vector>
          | ^~~~~~~~~~~~~~~~~
       20 | 
  • src/python/ir/operations/register_standard_operation.cpp:23:6: warning: [misc-use-internal-linkage]

    function 'registerStandardOperation' can be made static or moved into an anonymous namespace to enforce internal linkage

       23 | void registerStandardOperation(const py::module& m) {
          |      ^
          | static 
  • src/python/ir/operations/register_symbolic_operation.cpp:11:1: warning: [misc-include-cleaner]

    included header Definitions.hpp is not used directly

       11 | #include "ir/Definitions.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "ir/operations/Control.hpp"
  • src/python/ir/operations/register_symbolic_operation.cpp:12:1: warning: [misc-include-cleaner]

    included header Control.hpp is not used directly

       12 | #include "ir/operations/Control.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | #include "ir/operations/Expression.hpp"
  • src/python/ir/operations/register_symbolic_operation.cpp:13:1: warning: [misc-include-cleaner]

    included header Expression.hpp is not used directly

       13 | #include "ir/operations/Expression.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       14 | #include "ir/operations/OpType.hpp"
  • src/python/ir/operations/register_symbolic_operation.cpp:14:1: warning: [misc-include-cleaner]

    included header OpType.hpp is not used directly

       14 | #include "ir/operations/OpType.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       15 | #include "ir/operations/StandardOperation.hpp"
  • src/python/ir/operations/register_symbolic_operation.cpp:15:1: warning: [misc-include-cleaner]

    included header StandardOperation.hpp is not used directly

       15 | #include "ir/operations/StandardOperation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       16 | #include "ir/operations/SymbolicOperation.hpp"
  • src/python/ir/operations/register_symbolic_operation.cpp:16:1: warning: [misc-include-cleaner]

    included header SymbolicOperation.hpp is not used directly

       16 | #include "ir/operations/SymbolicOperation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       17 | #include "python/pybind11.hpp"
  • src/python/ir/operations/register_symbolic_operation.cpp:17:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       17 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       18 | 
  • src/python/ir/operations/register_symbolic_operation.cpp:19:1: warning: [misc-include-cleaner]

    included header vector is not used directly

       19 | #include <vector>
          | ^~~~~~~~~~~~~~~~~
       20 | 
  • src/python/ir/operations/register_symbolic_operation.cpp:23:6: warning: [misc-use-internal-linkage]

    function 'registerSymbolicOperation' can be made static or moved into an anonymous namespace to enforce internal linkage

       23 | void registerSymbolicOperation(const py::module& m) {
          |      ^
          | static 
  • src/python/ir/operations/register_classic_controlled_operation.cpp:11:1: warning: [misc-include-cleaner]

    included header Definitions.hpp is not used directly

       11 | #include "ir/Definitions.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "ir/operations/ClassicControlledOperation.hpp"
  • src/python/ir/operations/register_classic_controlled_operation.cpp:13:1: warning: [misc-include-cleaner]

    included header Operation.hpp is not used directly

       13 | #include "ir/operations/Operation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       14 | #include "python/pybind11.hpp"
  • src/python/ir/operations/register_classic_controlled_operation.cpp:14:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       14 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       15 | 
  • src/python/ir/operations/register_classic_controlled_operation.cpp:16:1: warning: [misc-include-cleaner]

    included header cstdint is not used directly

       16 | #include <cstdint>
          | ^~~~~~~~~~~~~~~~~~
       17 | #include <memory>
  • src/python/ir/operations/register_classic_controlled_operation.cpp:17:1: warning: [misc-include-cleaner]

    included header memory is not used directly

       17 | #include <memory>
          | ^~~~~~~~~~~~~~~~~
       18 | #include <sstream>
  • src/python/ir/operations/register_classic_controlled_operation.cpp:22:6: warning: [misc-use-internal-linkage]

    function 'registerClassicControlledOperation' can be made static or moved into an anonymous namespace to enforce internal linkage

       22 | void registerClassicControlledOperation(const py::module& m) {
          |      ^
          | static 
  • src/python/ir/operations/register_classic_controlled_operation.cpp:36:3: warning: [readability-isolate-declaration]

    multiple declarations in a single statement reduces readability

       36 |   auto ccop = py::class_<qc::ClassicControlledOperation, qc::Operation>(
          |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • src/python/ir/operations/register_classic_controlled_operation.cpp:36:62: warning: [readability-identifier-naming]

    invalid case style for local variable 'Operation'

       36 |   auto ccop = py::class_<qc::ClassicControlledOperation, qc::Operation>(
          |                                                              ^
    note: this fix will not be applied because it overlaps with another fix
  • src/python/ir/operations/register_operation.cpp:11:1: warning: [misc-include-cleaner]

    included header Control.hpp is not used directly

       11 | #include "ir/operations/Control.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "ir/operations/Operation.hpp"
  • src/python/ir/operations/register_operation.cpp:12:1: warning: [misc-include-cleaner]

    included header Operation.hpp is not used directly

       12 | #include "ir/operations/Operation.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | #include "python/pybind11.hpp"
  • src/python/ir/operations/register_operation.cpp:13:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       13 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       14 | 
  • src/python/ir/operations/register_operation.cpp:15:1: warning: [misc-include-cleaner]

    included header sstream is not used directly

       15 | #include <sstream>
          | ^~~~~~~~~~~~~~~~~~
       16 | 
  • src/python/ir/operations/register_operation.cpp:19:6: warning: [misc-use-internal-linkage]

    function 'registerOperation' can be made static or moved into an anonymous namespace to enforce internal linkage

       19 | void registerOperation(const py::module& m) {
          |      ^
          | static 
  • src/python/ir/symbolic/register_term.cpp:11:1: warning: [misc-include-cleaner]

    included header Expression.hpp is not used directly

       11 | #include "ir/operations/Expression.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "python/pybind11.hpp"
  • src/python/ir/symbolic/register_term.cpp:12:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       12 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | 
  • src/python/ir/symbolic/register_term.cpp:15:1: warning: [misc-include-cleaner]

    included header sstream is not used directly

       15 | #include <sstream>
          | ^~~~~~~~~~~~~~~~~~
       16 | 
  • src/python/ir/symbolic/register_term.cpp:19:6: warning: [misc-use-internal-linkage]

    function 'registerTerm' can be made static or moved into an anonymous namespace to enforce internal linkage

       19 | void registerTerm(py::module& m) {
          |      ^
          | static 
  • src/python/ir/symbolic/register_variable.cpp:11:1: warning: [misc-include-cleaner]

    included header Expression.hpp is not used directly

       11 | #include "ir/operations/Expression.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "python/pybind11.hpp"
  • src/python/ir/symbolic/register_variable.cpp:12:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       12 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | 
  • src/python/ir/symbolic/register_variable.cpp:15:1: warning: [misc-include-cleaner]

    included header string is not used directly

       15 | #include <string>
          | ^~~~~~~~~~~~~~~~~
       16 | 
  • src/python/ir/symbolic/register_variable.cpp:19:6: warning: [misc-use-internal-linkage]

    function 'registerVariable' can be made static or moved into an anonymous namespace to enforce internal linkage

       19 | void registerVariable(py::module& m) {
          |      ^
          | static 
  • src/python/ir/symbolic/register_expression.cpp:11:1: warning: [misc-include-cleaner]

    included header Expression.hpp is not used directly

       11 | #include "ir/operations/Expression.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       12 | #include "python/pybind11.hpp"
  • src/python/ir/symbolic/register_expression.cpp:12:1: warning: [misc-include-cleaner]

    included header pybind11.hpp is not used directly

       12 | #include "python/pybind11.hpp"
          | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       13 | 
  • src/python/ir/symbolic/register_expression.cpp:14:1: warning: [misc-include-cleaner]

    included header cstddef is not used directly

       14 | #include <cstddef>
          | ^~~~~~~~~~~~~~~~~~
       15 | #include <pybind11/operators.h>
  • src/python/ir/symbolic/register_expression.cpp:16:1: warning: [misc-include-cleaner]

    included header sstream is not used directly

       16 | #include <sstream>
          | ^~~~~~~~~~~~~~~~~~
       17 | #include <vector>
  • src/python/ir/symbolic/register_expression.cpp:17:1: warning: [misc-include-cleaner]

    included header vector is not used directly

       17 | #include <vector>
          | ^~~~~~~~~~~~~~~~~
       18 | 
  • src/python/ir/symbolic/register_expression.cpp:21:6: warning: [misc-use-internal-linkage]

    function 'registerExpression' can be made static or moved into an anonymous namespace to enforce internal linkage

       21 | void registerExpression(py::module& m) {
          |      ^
          | static 

Have any feedback or feature suggestions? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file github-actions Pull requests that update GitHub actions code
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants