Kohn–Sham inversion for open-shell systems | Synapse