qiskit_alt
will query to download and install Julia if it can't find the exectuable. The search and installation for Julia
is done by the Python package find_julia, described here
.
Alternatively, you can install Julia as described below.
You can skip everything below if you allow qiskit_alt
to install Julia for you.
-
Install Julia
- The Julia installer
jill.py
works for most common platforms.pip install jill
, thenjill install
. This table shows where jill installs and symlinks julia on various platforms. - juliaup for MSWin uses the Windows store. It also works (with improving support) for linux and macos.
- Download a prebuilt Julia distribution
- The Julia installer
-
To allow
qiskit_alt
to find the julia executable you can do one of- Install Julia with
jill.py
, or juliaup andqiskit_alt
will find it, even if it is not in your PATH. - Ensure that the julia executable is in your
PATH
environment variable. For example, under linux,jill
makes a symlink to/home/username/.local/bin/julia
. More information is here. - Set the environment variable
QISKIT_ALT_JULIA_PATH
to the path of your julia executable. - Pass the option
julia_path="/path/to/julia/executable"
to theensure_init()
when initializing. That is:qiskit_alt.project.ensure_init(julia_path="/path/to/julia/executable", otheopts...)
- Install Julia with