Qiskit / qiskit-aer

Aer is a high performance simulator for quantum circuits that includes noise models
https://qiskit.github.io/qiskit-aer/
Apache License 2.0
465 stars 354 forks source link

fix undefined behaviors #2130

Open enum-class opened 1 month ago

enum-class commented 1 month ago

Summary

fix undefined behaviors, and one minor bug

Details and comments

enum-class commented 1 month ago

Hi @doichanj and @hhorii , What is the procedure of p.r.'s ? Could you please help me with it ?

doichanj commented 1 month ago

I think we have to use signed integer for OpenMP loop because it causes compilation error on Windows (it fails only on Windows...)