IndexBitDomain#
-
enum cuquantum.
bindings. custatevecEx. IndexBitDomain(value)[source]# Specifies a domain that an index bit belongs to. Each wire of a state vector is mapped to an index bit, and every index bit belongs to one of the following domains that determines how operations on the wire are executed: - Local: the index bit is local to a sub state vector. Operations are executed without inter-device or inter-process communication. - Migration: the index bit distinguishes sub state vectors placed on host versus device memory. Operations require host- device migration. - Global device: the index bit distinguishes sub state vectors held by different devices or processes. Operations require data transfer routed by in-process GPUDirect P2P, inter-process GPUDirect P2P, or a communicator depending on the configuration. The applicable index bit domains for each state vector distribution model are described in the documentation of
custatevecExConfigureStateVectorSingleDevice(),custatevecExConfigureStateVectorMultiDevice(), andcustatevecExConfigureStateVectorMultiProcess(). This enum is used bycustatevecExStateVectorAddWires()to specify the domain of index bits assigned to the newly added wires.See
custatevecExIndexBitDomain_t.- Member Type:
Valid values are as follows:
- LOCAL = <IndexBitDomain.LOCAL: 0>#
- MIGRATION = <IndexBitDomain.MIGRATION: 1>#
- GLOBAL_DEVICE = <IndexBitDomain.GLOBAL_DEVICE: 2>#