cuquantum.custatevec.get_property

cuquantum.custatevec.get_property(int type) int32_t[源代码]

此函数返回 cuStateVec 库的版本信息。

参数

type (int) – 请求的属性 (MAJOR_VERSION, MINOR_VERSION, 或 PATCH_LEVEL)。

返回值

请求的属性的值。

返回类型

int32_t