cuquantum.bindings.cudensitymat.state_get_component_storage_size¶
- cuquantum.bindings.cudensitymat.state_get_component_storage_size(intptr_t handle, intptr_t state, int32_t num_state_components) tuple [source]¶
Queries the storage size (in bytes) for each component (tensor) constituting the quantum state representation (on the current process in multi-process runs).
- Parameters
handle (intptr_t) – Library handle.
state (intptr_t) – Quantum state (or a batch of quantum states).
num_state_components (int32_t) – Number of components (tensors) in the quantum state representation (on the current process).
- Returns
Storage size (bytes) for each component (tensor) consituting the quantum state representation (on the current process).
- Return type