Skip to content

Commit 5f17a95

Browse files
committed
format
1 parent c105cb9 commit 5f17a95

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cirq-core/cirq/ops/three_qubit_gates.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ def _decompose_(self, qubits):
110110
p = common_gates.T**exp
111111
sweep_abc = [common_gates.CNOT(a, b), common_gates.CNOT(b, c)]
112112
global_phase_gate = global_phase_op.from_phase_and_exponent(self.global_shift, exp)
113-
global_phase_operation = [] if np.isclose(global_phase_gate.coefficient, 1) else [global_phase_gate()]
113+
global_phase_operation = (
114+
[] if np.isclose(global_phase_gate.coefficient, 1) else [global_phase_gate()]
115+
)
114116
return global_phase_operation + [
115117
p(a),
116118
p(b),

0 commit comments

Comments
 (0)