sampler_get_squared_norm#
-
cuquantum.
bindings. custatevec. sampler_get_squared_norm(intptr_t handle, intptr_t sampler) double [source]# Get the squared norm of the state vector.
- Parameters:
handle (intptr_t) – the handle to the cuStateVec library.
sampler (intptr_t) – the sampler descriptor.
- Returns:
the norm of the state vector.
- Return type:
double
See also