The present paper explores the dynamics of ion-acoustic solitary waves (IASWs) within an unmagnetized, highly relativistic quantum plasma containing positive and negative ions alongside electrons, employing the quantum hydrodynamic model. The treatment accounts for the inertial characteristics of negative and positive ions, considering electrons as inertialess. The nonlinear nature of quantum IASWs is investigated through the derivation of the Korteweg–de Vries equation using the reductive perturbation method. The investigation highlights how wave propagation characteristics, whether compressive or rarefactive, are substantially modulated by several parameters, such as the quantum diffraction parameter