nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildRedist,
3 cuda_cudart,
4 libcublas,
5 libcurand,
6 libcusolver,
7 libcutensor,
8}:
9buildRedist {
10 redistName = "cuquantum";
11 pname = "cuquantum";
12
13 outputs = [
14 "out"
15 "dev"
16 "include"
17 "lib"
18 "static"
19 ];
20
21 buildInputs = [
22 cuda_cudart
23 libcublas
24 libcurand
25 libcusolver
26 libcutensor
27 ];
28
29 autoPatchelfIgnoreMissingDeps = [
30 "libnvidia-ml.so.1"
31 ];
32
33 meta = {
34 description = "Set of high-performance libraries and tools for accelerating quantum computing simulations at both the circuit and device level by orders of magnitude";
35 longDescription = ''
36 NVIDIA cuQuantum SDK is a set of high-performance libraries and tools for accelerating quantum computing
37 simulations at both the circuit and device level by orders of magnitude.
38 '';
39 homepage = "https://developer.nvidia.com/cuquantum-sdk";
40 changelog = "https://docs.nvidia.com/cuda/cuquantum/latest/cuquantum-sdk-release-notes.html";
41 };
42}