Skip to content

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

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

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

Conversation

@renovate

@renovate renovate Bot commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
mqt-core (changelog) >=3.8,<4>=4,<5 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 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 python Pull requests that update python code labels Sep 19, 2026
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 Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants