Equivalent circuits for two-state quantum systems