(not yet released, pre-release version available as Simon.AtomicNumberOperators, use at own risk)
AtomicNumberOperators(orbs, groupings) works analogously to CreateAtomicIndicesDict(), but instead of returning a dictionary of indices it returns a dictionary of operators counting the electrons in the corresponding states.