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

Update pyqir dependecy to support macOS with M1 processors #34

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

Update pyqir dependecy to support macOS with M1 processors #34

jond01 opened this issue Jan 9, 2023 · 3 comments

Comments

@jond01
Copy link

jond01 commented Jan 9, 2023

  • qiskit-qir version: 0.2.0 (and today's main)
  • Python version: 3.8
  • Operating System: macOS with an ARM processor (M1)

Description

Following qir-alliance/pyqir#101 (comment) and pyqir v0.7.0 release, qiskit-qir can support macOS with M1 processors.
To achieve this, the fixed requirement on pyqir has to be updated or relaxed:

pyqir-generator == 0.4.2a1


Also, it's probably desirable to replace pyqir-generator with pyqir:

pyqir-generator has been replaced by pyqir

Please install the pyqir package instead, which provides the same functionality.
Read the upgrade guide for help with upgrading from pyqir-generator 0.6.

https://pypi.org/project/pyqir-generator/

@idavis
Copy link
Contributor

idavis commented Mar 10, 2023

@jond01 - #32 should address what you've outlined. We're moving to PyQIR 0.8

@idavis
Copy link
Contributor

idavis commented Mar 10, 2023

@jond01 Can you please try 0.3.1 which is now available on pypi? The API has change to to_qir_module allowing you to work with the module, get its bitcode, or IR as you wish. It also returns a tuple of (module, entry_points) so that you have the entry points that were generated from the circuit(s).

@jond01
Copy link
Author

jond01 commented Mar 13, 2023

Great, thanks! The main thing left is propagating this update further to the azure-quantum package: microsoft/azure-quantum-python#410.

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