Open shell self‐consistent‐field theory