qiskit icon indicating copy to clipboard operation
qiskit copied to clipboard

Fix Deprecated Syntax

Open LorenzoLaCorte opened this issue 8 months ago • 0 comments

Issue #20

The + operator is no longer supported by QuantumCircuit: In Section 2.3.6, the plus is used to concatenate circuits, altough this is no longer supported.

and += operators are no longer defined for QuantumCircuit. Instead, you can use the & and &= operators respectively, which use QuantumCircuit.compose().

LorenzoLaCorte avatar Jun 06 '24 03:06 LorenzoLaCorte