cirq.GlobalPhaseOperation¶
-
class
cirq.
GlobalPhaseOperation
(coefficient, atol=1e-08)[source]¶ -
__init__
(coefficient, atol=1e-08)[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
controlled_by
(*control_qubits[, control_values])Returns a controlled version of this operation. If no control_qubitstransform_qubits
(func)Returns the same operation, but with different qubits.
validate_args
(qubits)Raises an exception if thequbits
don’t match this operation’s qidwith_qubits
(*new_qubits)Returns the same operation, but applied to different qubits.
Attributes
-