Skip to content

Instantly share code, notes, and snippets.

@SamWolski
Created May 1, 2023 21:49
Show Gist options
  • Save SamWolski/9f5bd115223a014f82ff8962cdbbb6b5 to your computer and use it in GitHub Desktop.
Save SamWolski/9f5bd115223a014f82ff8962cdbbb6b5 to your computer and use it in GitHub Desktop.
Install Qiskit-Metal on Apple Silicon
# Specify the env will be emulating x86
CONDA_SUBDIR=osx-64 conda create -n <env_name> python=3.10
# Activate env
conda activate <env_name>
# Set env to fetch x86 packages
conda config --env --set subdir osx-64
# Install qiskit metal
pip install qiskit-metal
# Install just the notebook component of jupyter
# Don't install the full 'jupyter' package which will lead to qt conflicts
conda install notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment