Define PROBS_CORE_SUM_1¶
Defined in File MeasurementKernels.hpp
Define Documentation¶
-
PROBS_CORE_SUM_1¶
Declare and initialize the base index
i0
and accumulate the state vector norm into allprobs
elements.We start calling the
PROBS_CORE_DEF_IxyN
macro for0
and1
in a base case, and call it recursively changing each bit to0
and1
such that enumerating all elements ofprobs
takeslog2(probs.size())
macros.
api/define_MeasurementKernels_8hpp_1af8eb9e1052561e30ac68ad48e400afd1
Download Python script
Download Notebook
View on GitHub