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

Support azure-quantum[qiskit] installation on macOS M1 #410

Closed
jond01 opened this issue Jan 9, 2023 · 3 comments
Closed

Support azure-quantum[qiskit] installation on macOS M1 #410

jond01 opened this issue Jan 9, 2023 · 3 comments

Comments

@jond01
Copy link

jond01 commented Jan 9, 2023

Installing the azure-quantum package with the qiskit extras on macOS with ARM processors (e.g. M1) is not supported currently, because of this fixed dependency:
https://github.com/microsoft/qdk-python/blob/bc4ae3a5bb1a84cfcb7f68c3e3e2f1d7f38f69f5/azure-quantum/setup.py#L86
So the dependency path looks like:

azure-quantum 0.27.244707 Python client for Azure Quantum
├── qiskit-qir >=0.2,<0.3
│   ├── pyqir-generator 0.4.2a1 

However, the latest version of pyqir supports ARM processors, see microsoft/qiskit-qir#34 (which has to be addressed first).

@jond01
Copy link
Author

jond01 commented Jan 11, 2023

Ok, it looks like v0.27.238334 solved the issue:
https://github.com/microsoft/qdk-python/blob/975d08bf7aea9bae7778800a6ae0f5e00fc74cd2/azure-quantum/setup.py#L86

This is still relevant on the main branch, though

@idavis
Copy link
Contributor

idavis commented Mar 13, 2023

@jond01 This will be handled in #420 which updates to PyQIR 0.8 and qiskit-qir 0.3.1

@jond01
Copy link
Author

jond01 commented Mar 28, 2023

I confirm that the installation with the beta version works on M1:

pip install "azure-quantum[qiskit]==0.28.262328b1"

https://pypi.org/project/azure-quantum/0.28.262328b1/

Thanks! Looking forward to the stable release.

PS:
After closing this issue, I received a strange GitHub notification about the following run:
https://github.com/microsoft/qdk-python/actions/runs/4542829695

@jond01 jond01 closed this as completed Mar 28, 2023
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

No branches or pull requests

2 participants