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

GPU support in setup file #1

wants to merge 7 commits into
base: master


Copy link

kareem1925 commented Jan 20, 2020


Regarding the usage of qulacs GPU backend, the setup file doesn't actually detect if cuda is on the system and installs the CPU version of qulacs. Hence, a small change was made in the setup file to detect the presence of Cuda and then install qulacs-gpu.


Right now, you can execute the following commandline:
pip install git+
to install everything.


Please update readme file before merging so that people can use the original command directly:
pip install git+


I tested the new branch on both CPU and GPU machines and everything works perfectly smooth

kareem1925 added 7 commits Jan 20, 2020
adding a new setup file for gpu support
making platform agnostic
no need for it because of the new adjustment in
Including a temporary method for gpu installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.