where A (B) is the reduced state with qubit k equal to 0 (1)
then the reduced state A should be the same as the reduced state B,
i.e. the reduced state should be independent of qubit k.
which corresponds to the cosine having a magnitude squared value of 1.