GateSet.get_general_sq_gate
- GateSet.get_general_sq_gate()[source]
Return the gate set’s arbitrary single-qudit gate.
During off-the-shelf BQSKit compilations, single-qudit gate rebasing is done last. The earlier stages of compilation focus on multi-qudit gates and use arbitrary single-qudit rotations. This function will return the best arbitrary single-qudit rotation to use during these steps based on the gates in the set.