This paper establishes a quantum rectangular heat engine model by applying finite-time thermodynamics. The working medium is countless particles trapped in a one-dimensional infinite potential well. Taking into account heat leakage between the system and the outside, expressions for thermal efficiency (η), dimensionless power ( P ), and dimensionless efficient power ( Wep) of quantum rectangular heat engine are derived, and its optimal performance is studied. System performance P , η, and Wep are optimized firstly by taking the width ratio of the potential well as the optimization variable. The outcomes show that the relationship curve between P and η is a loop-shaped curve. With an increase in heat leakage coefficient, the optimal design range of the quantum rectangular heat engine becomes smaller. The relationship curve between the efficient power and width ratio of the potential well is parabolic-like. The relationship curve between Wep and η is a loop-shaped curve. The efficiency of the quantum rectangular heat engine at Wep max operating point is greater than that at Pmax operating point. Secondly, multi-objective optimization is applied with η, P , and Wep as optimization objectives by applying NSGA-II, and the optimal design scheme is achieved by applying TOPSIS, LINMAP, and Shannon entropy decision-making approaches. The smallest deviation index inferred by the Shannon entropy approach is 0.0269. The design scheme is closest to the ideal scheme. topics: finite-time thermodynamics; quantum rectangular heat engine (QRHE); power, multi-objective optimization, thermal efficiency and efficient power