push
github
Avoid lossing precision when scaling frequencies (#12392) (#12416) * 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>
2 of 2 new or added lines in 1 file covered. (100.0%)
23 existing lines in 2 files now uncovered.62237 of 69465 relevant lines covered (89.59%)
228782.42 hits per line