Define PROBS_CORE_SUM_1

Define Documentation

PROBS_CORE_SUM_1

Declare and initialize the base index i0 and accumulate the state vector norm into all probs elements.

We start calling the PROBS_CORE_DEF_IxyN macro for 0 and 1 in a base case, and call it recursively changing each bit to 0 and 1 such that enumerating all elements of probs takes log2(probs.size()) macros.