configure_state_vector_multi_device#

cuquantum.bindings.custatevecEx.configure_state_vector_multi_device(
int sv_data_type,
int32_t num_wires,
int32_t num_device_wires,
device_ids,
int32_t num_devices,
int network_type,
uint32_t capability,
) intptr_t[source]#

Create configuration for multi-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 each device.

  • device_ids (object) –

    host pointer to an array of device ids. It can be:

    • an int as the pointer address to the array, or

    • a Python sequence of int32_t.

  • num_devices (int32_t) – number of devices.

  • network_type (int) – device network topology type.

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

Returns:

dictionary instance that holds state vector

configuration.

Return type:

intptr_t