This process (called electrolysis) is not have a change of state. This comes from the fact that the substance (in this case water) does not keep its identity during the change, this means that we don't end up with the same substance; rather we have two new ones, hydrogen and oxygen.