state_vector_get_property#

cuquantum.bindings.custatevecEx.state_vector_get_property(
intptr_t state_vector,
int property,
intptr_t value,
size_t size_in_bytes,
)[source]#

Retrieve state vector properties.

Parameters:
  • state_vector (intptr_t) – state vector instance.

  • property (StateVectorProperty) – a value of custatevecExStateVectorProperty_t.

  • value (intptr_t) – host pointer to a host buffer that receives the value of the specified property.

  • size_in_bytes (size_t) – byte size of the value buffer.