Installation¶
Run the command in the terminal to install QuanEstimation:
pip install quanestimation
git clone https://github.com/QuanEstimation/QuanEstimation.git
cd QuanEstimation
pip install .
import Pkg
Pkg.add("QuanEstimation")
Requirements¶
QuanEstimation requires Python >= 3.10 and Julia 1.11 or newer in the 1.x
series. The Python package pins the Julia core to QuanEstimation 0.5.0. The
Julia core's dependency list is declared in its Project.toml and is installed
automatically by juliacall/Pkg when the bridge is first used.
Python packages¶
| \(~~~~~~~~~~~\)Package\(~~~~~~~\) | Version |
|---|---|
| numpy | >=1.21 |
| sympy | >=1.9 |
| scipy | >=1.7 |
| cvxpy | >=1.2 |
| juliacall | >=0.9.37 |
| more-itertools | >=8.12 |
| h5py | >=3.6 |
Installing the Python package installs the Python dependencies listed above. The pinned Julia core and its Julia dependencies are installed automatically when the bridge is first used.
Next steps¶
Getting started — import QuanEstimation and understand the Python-Julia bridge.