Skip to content

Add Qiskit GPU simulator#369

Merged
kottmanj merged 3 commits intotequilahub:develfrom
ohuettenhofer:qiskit_gpu
Nov 1, 2024
Merged

Add Qiskit GPU simulator#369
kottmanj merged 3 commits intotequilahub:develfrom
ohuettenhofer:qiskit_gpu

Conversation

@ohuettenhofer
Copy link
Copy Markdown
Collaborator

@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
Copy Markdown
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
Copy Markdown
Collaborator 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
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