Finding, mapping, and classifying optimal protocols for two-qubit entangling gates