Install#

Qibolab#

Installing with pip#

The installation using pip is the recommended approach to use Qibolab. After updating pip, if needed, install Qibolab with:

pip install qibolab

Installing from source#

It is possible to install Qibolab from source, althought it is not recommended if not strictly required.

In order to install qibolab from source, you have to clone the GitHub repository with:

git clone https://github.com/qiboteam/qibolab.git
cd qibolab

Then, to install the package

  • if no changes on the source code are needed, one can still use pip

    pip install .
    
  • otherwise, to modify the source code, it is possible to install using poetry or pip

    poetry install    # recommended
    pip install -e .  # not recommended
    

Supported instruments#

Qibolab supports the following control instruments:

  • Quantum Machines

  • QBlox

  • Xilinx RFSoCs

In order to use Qibolab on with one of these instruments chosen instrument, additional dependencies need to be installed.

Note

Some packages are available which collect and pin the required compatible dependencies, such as qibolab-qm and qibolab-qblox. Search on PyPI for them

Note

The qcodes package is also required to operate some local oscillators (e.g. TWPA pumps). While there is no dedicated package to restrict the dependency yet, any available version is supposed to be suitable to control them