No two musical instruments of the same pitch have the same quality because pitch depends in the frequency or wavelength and quality depends on the waveform, upon the number or distribution and relative intensity of the different harmonics and overtones.
Hence, the two notes are not of the same quality.