Installation
Requirements
mpiQulacs works in the following environments:.
Python: >=3.8
mpi4py: >=3.1
mpiQulacs uses the same package name as
qulacs .Avoid installing Qulacs and mpiQulacs in the same Python environment.
Installing mpiQulacs
mpiQulacs can be installed via pip. If you use the Python virtual environment, you can install it, for example:.
# Create virtual environment and activate
python3.8 -m venv qenv
source qenv/bin/activate
# Install the latest version of pip and wheel
pip install -U pip wheel
# Install a required module
pip install mpi4py numpy
# Install mpiQulacs
pip install mpiQulacs
mpiQulacs provides the same “qulacs” module as Qulacs. Do not install mpiQulacs and Qulacs in one python environment