The implementation of the work arXiv:2107.01060 converted to a
python package qpt-pls
that can be installed system-wide and used easily. The approach is based on the hyperplane intersection projection (HIP) algorithm discussed in the original work.
The code is forked from the implementation by the authors at: https://github.com/Hannoskaj/Hyperplane_Intersection_Projection.
In order to run the basic notebooks, follow the following steps:
- Install pytables using conda as
conda install -c conda-forge pytables
- Install
qpt-pls
by downloading this repo and runningpip install -e .
from the folder.
The editable install will allow you to modify the code directly and reflect the changes system-wide. The installation will automatically install the necessary python packages such as numpy, scipy, matplotlib etc. Since the installation of pytables created some issues for me with setting up of the correct hdf5 paths, I suggest that you use conda to install it.
Please contact the authors of the original code for questions on the algorithm. I am simply refactoring the code for my own use and benchmarking.