configure_state_vector_single_device#

cuquantum.bindings.custatevecEx.configure_state_vector_single_device(
int sv_data_type,
int32_t num_wires,
int32_t num_device_wires,
int32_t device_id,
uint32_t capability,
) intptr_t[source]#

Create configuration for single device state vector.

Parameters:
  • sv_data_type (int) – state vector data type.

  • num_wires (int32_t) – number of wires of state vector.

  • num_device_wires (int32_t) – number of wires of state vector on device.

  • device_id (int32_t) – device id where the entire state vector will be allocated.

  • capability (uint32_t) – bit mask to specify optional features of state vector.

Returns:

dictionary instance that holds state vector

configuration.

Return type:

intptr_t