use parallel arrays for quantum vector