cuquantum.custatevec.sampler_apply_sub_sv_offset¶
- cuquantum.custatevec.sampler_apply_sub_sv_offset(intptr_t handle, intptr_t sampler, int32_t sub_sv_ord, uint32_t n_sub_svs, double offset, double norm)[source]¶
Apply the partial norm and norm to the state vector to the sample descriptor.
- Parameters
handle (intptr_t) – the handle to the cuStateVec library.
sampler (intptr_t) – the sampler descriptor.
sub_sv_ord (int32_t) – sub state vector ordinal.
n_sub_svs (uint32_t) – the number of sub state vectors.
offset (double) – cumulative sum offset for the sub state vector.
norm (double) – norm for all sub vectors.
See also