munich-quantum-toolkit / munich-quantum-toolkit/core

⬆️ Replace private DDSIM capability metadata after QDMI standardization

Open
#2,367 0 comments 0 reactions 1 assignee View on GitHub

@burgholzer is already working on this.

Since Sep 4, 2026.

enhancement MLIR QDMI
Dominant language
C++
Stars
133
Forks
73
Avg merge
17h 34m
Merged PRs (30d)
261

Description

🤖 AI text below 🤖

Elevator pitch

Remove temporary provider-specific metadata only when the public QDMI interface can express the same simulator capabilities without weakening compiler correctness.

Current state

The DDSIM device and target adapter use private all-to-all and controlled-operation metadata. Core supports zero-arity gphase and controlled standard-gate families; unknown target facts fail early.

Work and decisions

  • Wait for the parent contract decision and inventory every private-property producer/consumer.
  • Adopt the agreed public properties in DDSIM, the Client/bindings, and target inference.
  • Remove private fallbacks only when the supported dependency baseline guarantees the replacement.
  • Preserve arbitrary controls across supported standard gates, control polarity, zero-arity phase, and explicit topology.
  • Update the glossary, target documentation, and workaround-removal notes.

Dependencies and release boundary

Blocked by 💡 Standardize simulator topology and controlled-operation capabilities. Core 4.1 candidate only if the public contract is settled; otherwise keep the current documented workaround.

Acceptance and validation

  • Compiler/simulator tests preserve global phase and multiple controlled gate families, not just mcx/mcp.
  • Unknown topology and gate-set metadata still fail during inference.
  • Supported older dependency paths retain documented behavior until the minimum is raised.
  • Run focused target/DDSIM tests, generated stubs where affected, docs, full lint, and cpp-lint.

Non-goals

Inventing a competing private extension; relaxing fail-closed inference; requiring Braket simulator parity for v4.0.

Scalability and phase tests

Verify that adopting the public metadata does not materialize quadratic all-to-all connectivity or enumerate every controlled-gate arity. Test multiple controlled standard-gate families and true zero-arity global phase using phase-sensitive state or unitary comparisons; sampled probabilities alone cannot verify global phase.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.