cuquantum.custatevec.accessor_set¶
- cuquantum.custatevec.accessor_set(intptr_t handle, intptr_t accessor, intptr_t external_buffer, int64_t begin, int64_t end)[source]¶
Set state vector elements from an external buffer.
- Parameters
handle (intptr_t) – the handle to the cuStateVec library.
accessor (intptr_t) – the accessor descriptor.
external_buffer (intptr_t) – pointer to a host or device buffer of complex values being copied to the state vector.
begin (int64_t) – index in the permuted bit ordering for the first elements being copied from the state vector.
end (int64_t) – index in the permuted bit ordering for the last elements being copied from the state vector (non-inclusive).
See also