cirq.google.XmonGate

class cirq.google.XmonGate[source]

A gate with a known mechanism for encoding into google API protos.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

from_proto(op)
is_xmon_op(op)
on(*qubits) Returns an application of this gate to the given qubits.
parameterized_value_from_proto(message)
parameterized_value_to_proto(param, float], out)
to_proto(*qubits)
try_get_xmon_gate(op)
validate_args(qubits) Checks if this gate can be applied to the given qubits.