![]() |
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.
Args | |
---|---|
operation (QubitOperator) qubit (Qid) - a qubit on which the Pauli matrices will act. |
Returns | |
---|---|
(gate) - a gate that can be executed on the qubit passed |