Cal. Rev. & Tax. Code § 18002
(a) Subject to the following conditions, nonresidents shall be allowed a credit against the “net tax” (as defined by Section 17039) for net income taxes imposed by and paid to the state of residence (not including any preference, alternative, or minimum tax comparable to the tax imposed by Section 17062) on income taxable under this part: