“…We use a 2N-bit binary number to represent the σ z basis. In the example of N = 3, the σ z basis wavefunction wavefunction elements are If we store ψ ij n ↑ in a row vector, then the index of ψ will be (1,2,3,4,5,6,7,11,12,13,8,9,10,14,15,16,17,18,19,20)…”