Notably, solitary waves that emerge from the nonlinear properties of plasmas are the main focus of many current studies of localized disturbances in both laboratory and astrophysical plasmas. By applying the reductive perturbation method, we derive the nonlinear homogeneous quantum Zakharov–Kuznetsov (QZK) equation in three-component collisionless quantum plasma consisting of electrons, positrons, and ions in the presence of an external static magnetic field. The solitary wave structures are dependent on the Bohm potential, magnetic field, obliqueness, species Fermi temperatures, and densities. The soliton’s electric field and energy are also derived and investigated, which were found to be reduced as the magnetic field increases. The instability growth rate is also derived by using the small-k perturbation expansion method. The previous parameters affect the instability growth rate as well. A comparison of the energy and instability growth rate behaviour against system parameters is carried out. Large energy and large instability growth rate occur at large values of positron density or lower values of ion density. At zero or small rotation angle, both decrease as the magnetic field increases. Our findings could help us understand the dynamics of magnetic white dwarfs, pulsar magnetospheres, semiconductor plasma, and high-intensity laser-solid matter interaction experiments where e-p-i plasma exists.