torchquantum
torchquantum copied to clipboard
Apple Silicon Mac needs one more step: install hdf5
git clone https://github.com/mit-han-lab/torchquantum.git
cd torchquantum
brew install hdf5
export HDF5_DIR="$(brew --prefix hdf5)"
pip install --editable .
python fix_qiskit_parameterization.py
reference: https://stackoverflow.com/questions/66741778/how-to-install-h5py-needed-for-keras-on-macos-with-m1