If you inherit a home in another state than the one you reside in and sell the house for a capital gain do you have to report that gain to the state where the home exists

If you inherit a home in another state than the one you reside in and sell the house for a capital gain, do you have to report that gain to the state where the home exists?