You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get the required conda environment file by running wget https://gist.githubusercontent.com/lazyoracle/d62f535787605d85019d5ecf649a11ab/raw/environment-c3-dev-m1.yml.
Run conda env create -f environment-c3-dev-m1.yml to create a new conda environment.
Describe the bug
There are no clear guidelines on how to go about installing or setting up a development environment on Apple Silicon devices eg, the M1 Macbook.
To Reproduce
pip install c3-toolset
fails on Apple Silicon due to missing dependenciesCONTRIBUTING.md
also do not workExpected behavior
Straightforward way to install or setup dev machine on Apple Silicon
Screenshots
N/A
Environment (please complete the following information)
c3-toolset
Version: 1.4Additional context
Why do we care about Apple Silicon?
Mostly, because of performance. Here are some crude benchmarks (SHA: af38dae) using:
c3-toolset
test suite invoked withpytest test/
jupyter nbconvert --to notebook --execute --inplace examples/two_qubit_entangling_gate.ipynb
Suggested development setup
conda create --name=c3-dev python=3.8
)conda install tensorflow -c conda-forge
tensorflow-probability
that matches the version oftensorflow
pip
to install the rest of the requirements from therequirements.txt
file after relaxing all the pinned versionssetup.py
file to remove all the dependencies underinstall_requires=
c3-toolset
in development mode usingpip install -e .
The text was updated successfully, but these errors were encountered: