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

Add Qiskit GPU simulator #369

Merged
merged 3 commits into from
Nov 1, 2024
Merged

Conversation

ohuettenhofer
Copy link
Contributor

@ohuettenhofer ohuettenhofer commented Oct 31, 2024

This pull request depends on #368.

I added support for running the Qiskit simulator on the GPU by creating a subclass that changes the device name. I used the same structure as for the Qulacs GPU simulator.

Using this requires the qiskit-aer-gpu package.

I also commented out the package check for qulacs-gpu, because that package is not maintained, instead you have to compile Qulacs with GPU support, see qulacs/qulacs#623 (comment).

@kottmanj
Copy link
Collaborator

Great - Thanks a lot!
does it run on CPUs as well? (asking for the github CI runner)

@ohuettenhofer ohuettenhofer force-pushed the qiskit_gpu branch 2 times, most recently from 80d23cb to 9f29ebd Compare October 31, 2024 09:48
@ohuettenhofer
Copy link
Contributor Author

does it run on CPUs as well? (asking for the github CI runner)

I don't know, but I don't think so.
But I didn't properly catch the errors when the GPU packages aren't installed, that's why the runners were failing. It should be fixed now (but it just skips the GPU backends).

@kottmanj kottmanj merged commit 5d6e8ae into tequilahub:devel Nov 1, 2024
11 checks passed
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.

2 participants