-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
We should write an Optimizer that can use the GateTabulation code to recompile a circuit for an arbitrary two-qubit gate.
Is your feature request related to a use case or problem? Please describe.
Yes. This would make it easy to compile a circuit to a specific device using a two-qubit gate which we don't have a full set of analytical tools for.
In the future, we could also use this kind of functionality to do better refitting based on calibration data (at the expense of generating many GateTabulation objects).
Describe the solution you'd like
We should adapt the existing infrastructure we have to provide an optimizer which uses the GateTabulation code to compile a circuit with a user specific base_gate.
[optional] Describe alternatives/workarounds you've considered
I've hacked this in to the code myself, but it isn't pretty. Analytical compilation isn't always possible and it definitely isn't always straightforward to implement, even for gates we support well.
P1 or P2 depending maybe.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status