An important problem in quantum computation is the generation of single-qubit quantum gates such as Hadamard (H) and π/8 (T) gates, which are components of a universal set of gates. Qubits in experimental realizations of quantum computing devices are interacting with their environment. While the environment is often considered as an obstacle leading to a decrease in the gate fidelity, in some cases, it can be used as a resource. Here, we consider the problem of the optimal generation of H and T gates using coherent control and the environment as a resource acting on the qubit via incoherent control. For this problem, we studied the quantum control landscape, which represents the behavior of the infidelity as a functional of the controls. We considered three landscapes, with infidelities defined by steering between two, three (via Goerz–Reich–Koch approach), and four matrices in the qubit Hilbert space. We observed that, for the H gate, which is a Clifford gate, for all three infidelities, the distributions of minimal values obtained with a gradient search have a simple form with just one peak. However, for the T gate, which is a non-Clifford gate, the situation is surprisingly different—this distribution for the infidelity defined by two matrices also has one peak, whereas distributions for the infidelities defined by three and four matrices have two peaks, which might indicate the possible existence of two isolated minima in the control landscape. It is important that, among these three infidelities, only those defined with three and four matrices guarantee the closeness of the generated gate to a target and can be used as a good measure of closeness. We studied sets of optimized solutions for the most general and previously unexplored case of coherent and incoherent controls acting together and discovered that they form sub-manifolds in the control space, and unexpectedly, in some cases, two isolated sub-manifolds.