diff --git a/qualtran/bloqs/basic_gates/su2_rotation.py b/qualtran/bloqs/basic_gates/su2_rotation.py index 039dadf54..dd16e90db 100644 --- a/qualtran/bloqs/basic_gates/su2_rotation.py +++ b/qualtran/bloqs/basic_gates/su2_rotation.py @@ -142,10 +142,7 @@ def _t_complexity_(self) -> TComplexity: return TComplexity(rotations=3) def _is_parameterized_(self) -> bool: - return any( - cirq.is_parameterized(param) - for param in [self.theta, self.phi, self.lambd, self.global_shift] - ) + return cirq.is_parameterized((self.theta, self.phi, self.lambd, self.global_shift)) @bloq_example