-
-
Notifications
You must be signed in to change notification settings - Fork 55
✨ MLIR - Port QMAP to MLIR #1079
Copy link
Copy link
Labels
MLIRAnything related to MLIRAnything related to MLIRc++Anything related to C++ codeAnything related to C++ codefeatureNew feature or requestNew feature or request
Milestone
Metadata
Metadata
Assignees
Labels
MLIRAnything related to MLIRAnything related to MLIRc++Anything related to C++ codeAnything related to C++ codefeatureNew feature or requestNew feature or request
Problem Statement
MLIR is a convenient way to define representations of programs, i.e., quantum programs. It also allows for easy interface with other tools by defining conversions between the different representations. In the usual compilation flow, quantum circuit mapping is a crucial step to get from the algorithmic to the hardware level and to make the quantum program executable on a certain hardware. In MQT, this task is performed by QMAP. Unfortunately, QMAP uses the (old) custom representation
QuantumComputationand is not compatible with the MLIR infrastructure.Proposed Solution
A modern re-implementation of QMAP directly in the MLIR framework facilitates a conversion from a hardware-agnostic dialect like
MQTDynto a hardware-specific dialect, e.g.,MQTMemthat assigns algorithmic qubits to specific hardware/physical qubits. The necessary steps for the implementation of QMAP in terms of MLIR are described in further detail in the related sub-issues.