Optimal Control of thermally noisy quantum gates in a multilevel system
Quantum systems are inherently sensitive to environmental noise and imperfections in external control fields, which pose a significant challenge for the practical implementation of quantum technologies. These noise sources degrade the fidelity of quantum gates, making their mitigation a key requirement for realizing reliable quantum computing. In this study, we apply Optimal Control Theory (OCT) within a thermodynamically consistent Markovian framework to design high-fidelity quantum gates in the presence of thermal relaxation. Such a description is essential for realistic modeling and optimization of noisy quantum gates in near-term quantum technologies, where strong control fields and thermal environments act simultaneously. Our approach combines OCT with a control-dependent dissipative generator derived from the non-adiabatic master equation framework based on time-dependent invariants of the free evolution. As a result, the driving fields modify both the unitary and dissipative parts of the evolution. We implement the scheme for one- and two-qubit gates embedded in larger Hilbert spaces and compare direct-control and ancilla-assisted architectures. Using logical-subspace-resolved diagnostics, we quantify how the optimized dynamics redistributes the dissipative action between logical and ancillary sectors in the model systems studied here. In particular, we show that ancilla-assisted control can reduce the effective thermal-noise burden on the logical subspace in the relevant parameter regime, while direct control remains the most effective route when available. High-precision propagation of the full open-system dynamics reveals substantial fidelity improvements, in some cases by orders of magnitude, while clarifying the limits of mitigation at large relaxation rates and temperatures.