cirq.testing.assert_eigengate_implements_consistent_protocols

cirq.testing.assert_eigengate_implements_consistent_protocols(eigen_gate_type: Type[cirq.ops.eigen_gate.EigenGate], *, exponents: Sequence[Union[float, sympy.core.basic.Basic]] = 0, 1, - 1, 0.25, - 0.5, 0.1, s, global_shifts: Sequence[float] = 0, - 0.5, 0.1, qubit_count: Optional[int] = None, ignoring_global_phase: bool = False, setup_code: str = 'import cirq\nimport numpy as np\nimport sympy', global_vals: Optional[Dict[str, Any]] = None, local_vals: Optional[Dict[str, Any]] = None) → None[source]
Checks that an EigenGate subclass is internally consistent and has a
good repr.