It's already taken care of in your CA adjusted gross income EXCEPT for exclusion of gain from the sale of qualified small business stock. There are also other differences, such as
- sale of certain low-income housing
- sale of personal residence
- sale of personal residence (military)
- regulated investment (RIC) shareholders
- property inherited before January 1, 1987
- capital loss carryforwards.
Scroll down till you see the discussion on capital gains in this:
Differences between Federal
and CA
These are the instructions for the CA Adjustment form:
https://www.ftb.ca.gov/forms/2017/17_540cains.pdf