Skip to content

Instantly share code, notes, and snippets.

View shanto268's full-sized avatar
💻
No Longer Working From Home ;)

Sadman Ahmed Shanto shanto268

💻
No Longer Working From Home ;)
View GitHub Profile
@shanto268
shanto268 / install_qiskit_metal_m1_mac.md
Last active October 14, 2024 16:16
Installing qiskit-metal on a M1 Mac (Apple Silicon)

There was no one resource avaiable online that walks through the process of installing qiskit-metal on a M1 Mac (Apple Silicon).

Hoping this helps others.

  1. Create a fresh conda environment with python 3.10 or 3.11 and configure it to emulate x86
CONDA_SUBDIR=osx-64 conda create -n <env_name> python=3.11
conda activate <env_name>
conda config --env --set subdir osx-64
@shanto268
shanto268 / squadds_install_mac_linux.md
Last active March 15, 2024 04:10
Install SQuADDS on a fresh conda environment on Mac/Linux

Installing SQuADDS on a Fresh Mac/Linux Conda Environment

Create a shell script with the following content. This allows a local development environment for SQuADDS.

#!/bin/bash

# Ensure script fails if any command fails
set -e