push
github
Avoid lossing precision when scaling frequencies (#12392) (#12480) * Avoid lossing precision when scaling frequencies Classes in pulse_instruction.py scale frequency values to GHz by multipliying `ParameterExpression` with float 1e9. This can lead to numerical errors on some systems using symengine. Instead, this scaling can be done multiplying by integer 10**9. See: https://github.com/Qiskit/qiskit/issues/12359#issuecomment-2104426621 * Add release note --------- Co-authored-by: Jake Lishman <jake.lishman@ibm.com> (cherry picked from commit 96607f6b2) Co-authored-by: Iyán <me@iyanmv.com> Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
2 of 2 new or added lines in 1 file covered. (100.0%)
18 existing lines in 3 files now uncovered.75002 of 86268 relevant lines covered (86.94%)
100859.54 hits per line