Default gate-wise decomposition. More...
Public Member Functions | |
void | operator() (circuit &circ, const gate &g) const |
Functor Operator. More... | |
Default gate-wise decomposition.
This struct can be used as gate_decomposition_func to assign to the gate_decomposition setting of the quantum_decomposition algorithm.
Functor Operator.
Decomposes g
and appends it to circ
circ | Circuit to be created during decomposition process |
g | Gate to be decomposed |