a-auer / qiskit

A Jupyter notebook that demonstrates the use of Qiskit and the IBM Q Experience using the BBPSSW protocol for entanglement purification as an example.
17 stars 13 forks source link

Fix Deprecated Syntax #21

Open LorenzoLaCorte opened 5 months ago

LorenzoLaCorte commented 5 months ago

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().