Hybridization of Localized States in Semiconducting and Superconducting Circuits