The documentation in this page (https://docs.itensor.org/ITensors/stable/getting_started/RunningCodes.html#Using-a-Compiled-Sysimage-in-Jupyter-or-VS-Code) for compiling a sysimage seems out of date. I got the following error when run ITensors.compile():
julia> ITensors.compile()
ERROR: MethodError: no method matching compile(::NDTensors.BackendSelection.Algorithm{:PackageCompiler, @NamedTuple{}})
The function compile exists, but no method is defined for this combination of argument types.