If you are a resident of a specific state - you are taxed on all worldwide income on the state level.Federal credits do not work on the state level.But states might have their own deductions and credits and these are NOT related to federal form 1116.