Open CalMacCQ opened 1 year ago
Looks like qiskit's Diagonal
inherits from QuantumCircuit
rather than Instruction
so the conversion isn't quite as clean as I thought.
EDIT: DiagonalGate
inherits from Gate
so this should be doable -> https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.library.DiagonalGate
Qiskit have diagonal gates.
These seem to be implemented in the same way as pytket's DiagonalBox. We should be able to support this in the circuit converters.