openqasm / qe-compiler

An MLIR based compiler dynamic circuit compiler for real-time control systems supporting OpenQASM 3
Other
38 stars 12 forks source link

Add diagnostic tracking to target and an error for too long sequences #240

Closed mbhealy closed 5 months ago

mbhealy commented 5 months ago

This PR supersedes #211

Adds diagnostic tracking to targets, updates the API to check for and emit diagnostics stored in the target, updates the python interface to raise exceptions based on returned diagnostics, and adds a new error/exception for sequences that are too long.

mbhealy commented 5 months ago

Is it passing with the Python library now?

Yes, everything is passing now. I added a test for the python library in the internal repo PR.