tket
tket copied to clipboard
Add option to `Backend.get_compiled_circuit()` to check backend predicates after compilation and fail if any are false
Could this be a Boolean flag? i.e
Backend.get_compiled_circuit(check_predicates=True)
Or maybe just give a warning saying that not all predicates are satisfied and specifying which one?
I think a boolean flag, but defaulting to False (for backwards-compatibility).
I think a warning could also be informative here.
If your compiled circuit is invalid - it's probably useful to know which predicates are not satisfied.
This issue has been automatically marked as stale.