View source on GitHub |
Generate a circuit that can be run on a Cirq simulator from the ops
fqe.cirq_utils.qubit_ops_to_circuit(
ops: "QubitOperator",
qpu: List[LineQubit]
) -> "Circuit"
passed
Args | |
---|---|
ops (Qubit Operator) - a product of operations to compile into a circuit qpu (Qid) - the quantum processing unit that this circuit will be run on |
Returns | |
---|---|
(circuit) - returns a circuit to run in cirq |