Installation¶
Using pip¶
To install netqasm do
pip install netqasm
To simulate a set of application files using a simulator, additional packages are required. Currently supported simulators are:
SquidASM: Requires
netsquidand SquidASM installed. For how to installnetsquid, see https://netsquid.org/#registration. SquidASM can be installed using pip while supplying your NetSquid account information:pip install squidasm --extra-index-url=https://{netsquid-user-name}:{netsquid-password}@pypi.netsquid.org
SimulaQron: Requires only
simulaqronwhich can be installed using pip bypip install simulaqron
SimulaQron itself needs a backend to be installed in order to run simulations. One of the supported backends is ProjectQ. To install ProjectQ, do:
pip install projectq
Note
If you have trouble installing one of the packages above, it may be that
you first need to install the wheel package, by pip install wheel.
From source¶
To install netqasm from source, clone this repo and run
make install
To verify the installation, do:
make verify