File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
nvidia-mgpu-repo: cuda-quantum/cuquantum-mgpu.git
2
- nvidia-mgpu-commit: fdea89e034c7ac6b6b3d0e239d8924bcd2c08f96
2
+ nvidia-mgpu-commit: 02cb381cb54b0c11de8b8aaa75ccff2fdd0a2e0d
Original file line number Diff line number Diff line change @@ -46,6 +46,14 @@ struct kraus_op {
46
46
// / NOTE we currently assume nRows == nCols
47
47
std::size_t nCols = 0 ;
48
48
49
+ // / @brief The precision of the underlying data
50
+ // This data is populated when a `kraus_op` is created and can be used to
51
+ // introspect `kraus_op` objects across library boundary (e.g., when dynamic
52
+ // linking is involved).
53
+ const cudaq::simulation_precision precision =
54
+ std::is_same_v<cudaq::real, float > ? cudaq::simulation_precision::fp32
55
+ : cudaq::simulation_precision::fp64;
56
+
49
57
// / @brief Copy constructor
50
58
kraus_op (const kraus_op &) = default ;
51
59
You can’t perform that action at this time.
0 commit comments