|View source on GitHub|
Convert a qubit operation into a gate operations that can be digested
fqe.cirq_utils.qubit_op_to_gate( operation: "QubitOperator", qubit ) -> "SingleQubitPauliStringGateOperation"
by a Cirq simulator.
|operation (QubitOperator) qubit (Qid) - a qubit on which the Pauli matrices will act.|
|(gate) - a gate that can be executed on the qubit passed|