It's not just heat pumps, but hot water heating needs, for both homes and pools if you have them. We built a new house a couple years ago and used Mitsubishi heat pumps without gas heating stages. In our mild climate, the efficiency is quite good, and costs less than gas even with PG&E prices.
But hot water is a different story I have a very high efficiency condensing water heater (an HTP unit) that operates at multiple temp stages. Think of a well insulated tank with a tankless style heater heating it. Heat pumps trying to get up to 120 degrees or higher (I run the HTP at 140 and then use a mixing valve to take it down to 120 for distribution so the hot water lasts longer). The pool heater is a 400,000 BTU unit. Replacing these with electric heat pump based units a much bigger hit because of the increased delta-T and a much higher capex. for the same amount of BTU output.
My HTP is a 160,000 BTU unit. If I do the simple math that the unit is a 4500 watt heater (as some of the bigger heatpump ratings indicate), that's only about 15000 BTU, assuming 100% efficiency. This is not at all equivalent to in terms of my HTP that is literally 10X heat capacity which is a huge driver of quick recovery time.. For a large family that means you will run out of hot water compared to high efficiency gas unit that will take a long time to heat an 80 gallon tank. And don't forgot that the tank may fail due to corrosion well before the heatpump does. So there is a big lifetime capex delta as well.
Good luck trying to find an all electric pool heater that comes close to the BTU ratings.
Getting rid of nat gas feeds to homes means cold showers and cold pools? And don't forgot because of the BTU differences recovery times are mich higher and that means these units will have to run a lot longer - in some cases almost continuously, and not just offpeak. This whole approach is wrongheaded, and CA will be a nat gas driven system for many many years to come if the current state strategy holds. So why are we trying to force all these changes again?