cirq_gate_to_bloq#
View source on GitHub
|
For a given Cirq gate, return an equivalent bloq.
qualtran.cirq_interop.cirq_gate_to_bloq(
gate: cirq.Gate
) -> qualtran.Bloq
This will try to find the idiomatically correct bloq to return. If there is no equivalent
Qualtran bloq for the given Cirq gate, we wrap it in the CirqGateAsBloq wrapper class.
View source on GitHub