Skip to content

⬆️🐍 Update dependency mqt-core to v4 - #1166

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mqt-core-4.x
Closed

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mqt-core-4.x

Conversation

@renovate

@renovate renovate Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
mqt-core (changelog) ~=3.10.0~=4.0.0 age confidence

Release Notes

munich-quantum-toolkit/core (mqt-core)

v4.0.0

Compare Source

MQT Core 4: a compiler foundation built on MLIR and LLVM

MQT Core 4 is a major architectural release centered on the
MQT Compiler Collection, a quantum-classical compilation framework built on
MLIR and LLVM. It replaces the classic circuit representation with a
compiler infrastructure that connects program import, optimization, hardware
mapping, program exchange, and execution through C++, Python, and mqt-cc.

The new foundation makes quantum operations and classical computation part of
the same structured program. Quantum dialects work with MLIR's classical
arithmetic, functions, and control flow, so the compiler can represent loops,
reusable functions, and measurement feedback throughout supported pipelines.

The central changes are:

  • A new program model. QC provides reference-based quantum operations for
    frontend interoperability; QCO uses linear quantum values for transformations.
    QTensor and CBit represent quantum and classical registers. Typed programs,
    builders, and verifiers expose this structure to compiler users and
    developers.
  • A shared, extensible compilation pipeline. Import OpenQASM or Qiskit,
    inspect intermediate representations, compose optimization passes, synthesize
    gates, and place and route programs for a device's operations and topology.
    Python, C++, and the command-line driver use the same compiler infrastructure.
  • Compilation connected to execution. Exchange structured programs through
    jeff or emit OpenQASM and QIR. QIR lowering produces LLVM text or bitcode for
    Base and Adaptive profiles; DDSIM uses LLVM JIT compilation and the DD runtime
    to execute supported QIR through QDMI. QCO also supports direct DD simulation,
    sampling, and unitary construction.
  • Workflows built around the compiler. Typed benchmarks, SDK integrations,
    device-directed compilation, and six executable tutorials connect program
    construction to results. Python wheels include the compiler and local
    simulator; source builds enable the LLVM/MLIR compiler by default.

Upgrading from v3 requires an explicit migration. Classic circuit APIs,
including QuantumComputation, are removed. The low-level DD and QDMI libraries
remain available. Start with the v3-to-v4 upgrade guide for
the new program model, migration paths, API replacements, and build changes
relative to v3.10.0. The entries below retain the contributing PRs and authors.

Added
Compiler APIs and representations
Compilation for devices
Optimization and synthesis
Program import and exchange
Decision diagrams and execution
Structured benchmarks
Documentation and development
Changed
Builds and supported configurations
Runtime and client behavior
Fixed
Decision diagrams
  • 🐛 Correct DD cache invalidation after garbage collection, compressed-matrix
    entries, partial traces, Kronecker products, numeric-table reuse, and logical
    Python vector indexing. Reject malformed paths and ragged dense matrices.
    ([#​2441], [#​2453], [#​2479]) ([@​burgholzer])

  • 🐛 Use deterministic, collision-free DOT node IDs, define signed
    complex-weight hashing, and preserve real-number collection flags during
    relinking. ([#​2518]) ([@​burgholzer])

Device access
Removed
  • 💥 Remove qc::QuantumComputation, MQT::CoreIR, MQT::CoreQASM, classic
    Python circuit APIs, and circuit-taking DD helpers. Use compiler-backed QC/QCO
    APIs or remain on the v3 release series. ([#​2054], [#​2288])
    ([@​burgholzer], [@​simon1hofmann])

  • 💥 Remove the standalone QIR runner and make the QIR runtime and JIT internal
    DDSIM implementation details. Execute QIR through QDMI. ([#​2246])
    ([@​burgholzer], [@​denialhaag])


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekend"
  • 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 these updates 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 python Anything related to Python code labels Sep 12, 2026
@github-project-automation github-project-automation Bot moved this to In Progress in MQT Compilation Sep 12, 2026
@renovate

renovate Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: uv.lock
Command failed: uv lock --upgrade-package mqt-core --upgrade-package mqt-core
Using CPython 3.14.7 interpreter at: /opt/containerbase/tools/python/3.14.7/bin/python3
  × No solution found when resolving dependencies for split (markers:
  │ python_full_version >= '3.15' and sys_platform == 'win32'):
  ╰─▶ Because mqt-qcec>=3.10.0 depends on mqt-core>=3.10.0,<3.11.dev0
      and mqt-qmap:dev depends on mqt-qcec>=3.10, we can conclude that
      mqt-qmap:dev depends on mqt-core>=3.10.0,<3.11.dev0.
      And because mqt-qmap:dev depends on mqt-core>=4.0.0 and your project
      requires mqt-qmap:dev, we can conclude that your project's requirements
      are unsatisfiable.

hint: While the active Python version is 3.14, the resolution failed for other Python versions supported by your project. Consider limiting your project's supported Python versions using `requires-python`.

@denialhaag

Copy link
Copy Markdown
Member

MQT QMAP will not be compatible with MQT Core 4 for the foreseeable future. Closing this.

@denialhaag denialhaag closed this Sep 12, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in MQT Compilation Sep 12, 2026
@renovate

renovate Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate
renovate Bot deleted the renovate/mqt-core-4.x branch September 12, 2026 01:43
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 python Anything related to Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant