State tax filing

I have a similar scenario. Just to confirm, you're saying that if I'm a new part-year resident for 2021 (we moved to CA during 2021) and I have a capital loss carryover that was from prior to the move (before I was ever a CA resident), the amount to list for the CA state return for capital loss carryover would be '0', correct?