MLIR Passes v1.0
|
This repository holds a collection of MLIR passes that operate on Quantum programs to optimize, transform, and lower quantum circuits to instructions compliant with the target devices. The presented passes are integrated into the Munich Quantum Software Stack (MQSS) infrastructure. In particular, this collection of passes is used in the Quantum Resource Manager (QRM) to optimize, transform, and lower quantum programs to quantum devices. The passes stored in this collection can be classified as target-agnostic and target-specific. Target agnostic passes can be applied to any quantum circuit and do not require information on the selected quantum target device. In contrast, target-specific passes tightly depend on the selected quantum device. For instance, transpilation passes that convert a quantum circuit defined using arbitrary gates to a quantum circuit compliant with the native gate set of the selected quantum device.
This documentation provides helpful information to get you started with the collection of MLIR passes of the Munich Quantum Software Stack (MQSS).
The FAQ page gives an overview over frequently asked questions.
Declaring Custom Passes page provides an step-by-step guide to show you how you can implement custom MLIR passes to be used into the MQSS. When you want to validate your custom MLIR passes, the Development Guide page is a good starting point.
When you are interested in the details of the semantics of functions and the whole API, the Reference Documentation page is the right place to look for.