Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always hook omp functions in Mac #2128

Merged
merged 4 commits into from
May 21, 2024
Merged

Conversation

hhorii
Copy link
Collaborator

@hhorii hhorii commented May 8, 2024

Summary

Mac needs hooks of omp functions. There was no pass to setup these hooks if application uses only quantum_info. This PR is to always call setups of such hooks.

Details and comments

A new pybind11 function aer_ initialize_libraries is defined. This function is always called in qiskit_aer initialization.

@hhorii hhorii requested a review from doichanj May 9, 2024 00:19
@hhorii hhorii force-pushed the always_init_omp branch 2 times, most recently from 965c75c to 1a0acee Compare May 13, 2024 04:21
@doichanj doichanj merged commit b706ee1 into Qiskit:main May 21, 2024
38 checks passed
doichanj added a commit to doichanj/qiskit-aer that referenced this pull request May 23, 2024
* always hook omp functions in Mac

* fix recent test failures with the latest qiskit

---------

Co-authored-by: Jun Doi <doichan@jp.ibm.com>
@doichanj doichanj mentioned this pull request May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants