Qubit regularized O(N) nonlinear sigma models