Installation

HQS Quantum Solver

Visit cloud.quantumsimulations.de/software, search for "HQS Quantum Solver" in the package list and select "Download". Follow the instructions on that page to install HQS Quantum Solver.

To use HQS Quantum Solver, you furthermore need to install the Intel Math Kernel Library (MKL), which is discussed in the next section.

MKL

Installing MKL such that HQS Quantum Solver can access it can be done in three different ways.

  1. You can use HQStage to install the MKL into the currently active virtual environment.

    hqstage install mkl
    
  2. You can manually provide a version of the MKL by making sure that the file libmkl_rt.so is found by the dynamic linker. That means, that a system-wide installation should be found automatically.

  3. You can install the MKL via pip. However, you need to create a symlink for the file libmkl_rt.so. The commands below perform the necessary steps.

    pip install mkl
    PLATLIB_DIR="$(python -c "import sysconfig; print(sysconfig.get_path('platlib'))")"
    ln -fs libmkl_rt.so.2 "${PLATLIB_DIR}/../../libmkl_rt.so"