Qiskit / qiskit-addon-mthree

Matrix-free Measurement Mitigation
https://qiskit.github.io/qiskit-addon-mthree/
Apache License 2.0
37 stars 27 forks source link

Add fast-math to compiler flags #260

Closed nonhermitian closed 3 weeks ago

nonhermitian commented 3 weeks ago

This vectorizes the last loop in the main path that was blocked by

./elements.h:66:22: remark: loop not vectorized: cannot prove it is safe to reorder floating-point operations; allow reordering by specifying '#pragma clang loop vectorize(enable)' before the loop or by providing the compiler option '-ffast-math'. [-Rpass-analysis=loop-vectorize]

closes #259