Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion python/cudaq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
cutensornet_libs = get_library_path(f"cutensornet-cu{cuda_major}")
cutensornet_path = os.path.join(cutensornet_libs, "libcutensornet.so.2")

os.environ["CUDAQ_DYNLIBS"] = f"{custatevec_path}:{cutensornet_path}"
cutensor_libs = get_library_path(f"cutensor-cu{cuda_major}")
cutensor_path = os.path.join(cutensor_libs, "libcutensor.so.2")

os.environ[
"CUDAQ_DYNLIBS"] = f"{custatevec_path}:{cutensornet_path}:{cutensor_path}"

# The following package is only available on `x86_64` (not `aarch64`). For
# `aarch64`, the library must be provided another way (likely with
Expand Down
Loading