From 998233e1df6667b287c2b516f4206e749987b13d Mon Sep 17 00:00:00 2001 From: Alexander Ivrii Date: Sun, 19 Jan 2025 17:48:31 +0200 Subject: [PATCH] minor --- qiskit/transpiler/passes/synthesis/solovay_kitaev_synthesis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit/transpiler/passes/synthesis/solovay_kitaev_synthesis.py b/qiskit/transpiler/passes/synthesis/solovay_kitaev_synthesis.py index 5fbb8479d9c..f3393e85860 100644 --- a/qiskit/transpiler/passes/synthesis/solovay_kitaev_synthesis.py +++ b/qiskit/transpiler/passes/synthesis/solovay_kitaev_synthesis.py @@ -170,7 +170,7 @@ def run(self, dag: DAGCircuit) -> DAGCircuit: # ignore operations on which the algorithm cannot run if ( - (not node.op.num_qubits == 1) + (node.op.num_qubits != 1) or node.is_parameterized() or (not hasattr(node.op, "to_matrix")) ):