cuquantum.cutensornet.ExpectationAttribute

enum cuquantum.cutensornet.ExpectationAttribute(value)[source]

请参阅 cutensornetExpectationAttributes_t

成员类型

int

有效值如下:

OPT_NUM_HYPER_SAMPLES = <ExpectationAttribute.OPT_NUM_HYPER_SAMPLES: 0>
CONFIG_NUM_HYPER_SAMPLES = <ExpectationAttribute.CONFIG_NUM_HYPER_SAMPLES: 1>
INFO_FLOPS = <ExpectationAttribute.INFO_FLOPS: 64>