[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -301,7 +301,9 @@ def _qibo_circuit_to_quimb(
|
|||||||
gate, "trainable", True
|
gate, "trainable", True
|
||||||
)
|
)
|
||||||
if is_parametrized:
|
if is_parametrized:
|
||||||
circ.apply_gate(quimb_gate_name, *params, *qubits, parametrized=is_parametrized)
|
circ.apply_gate(
|
||||||
|
quimb_gate_name, *params, *qubits, parametrized=is_parametrized
|
||||||
|
)
|
||||||
else:
|
else:
|
||||||
circ.apply_gate(
|
circ.apply_gate(
|
||||||
quimb_gate_name,
|
quimb_gate_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user