Qubit field theory