Tunable, Flexible, and Efficient Optimization of Control Pulses for Practical Qubits.