Qiskit / qiskit

Qiskit is an open-source SDK for working with quantum computers at the level of extended quantum circuits, operators, and primitives.
https://www.ibm.com/quantum/qiskit
Apache License 2.0
5.1k stars 2.34k forks source link

Fix `TwoLocal` example: use compose instead of + #12609

Closed Cryoris closed 3 months ago

Cryoris commented 3 months ago

Summary

Fixes #12590.

qiskit-bot commented 3 months ago

One or more of the following people are relevant to this code:

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 9593201588

Details


Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/lex.rs 6 92.37%
crates/qasm2/src/parse.rs 6 96.69%
<!-- Total: 12 -->
Totals Coverage Status
Change from base Build 9585515412: -0.01%
Covered Lines: 63560
Relevant Lines: 70822

💛 - Coveralls
jakelishman commented 3 months ago

@Mergifyio backport stable/0.46 stable/1.1

mergify[bot] commented 3 months ago

backport stable/0.46 stable/1.1

✅ Backports have been created

* [#12611 Fix `TwoLocal` example: use compose instead of + (backport #12609)](https://github.com/Qiskit/qiskit/pull/12611) has been created for branch `stable/0.46` * [#12612 Fix `TwoLocal` example: use compose instead of + (backport #12609)](https://github.com/Qiskit/qiskit/pull/12612) has been created for branch `stable/1.1`