Yes, the density of a pulsar is generally much greater than the density of a white dwarf.
A pulsar is a highly compact and rapidly rotating neutron star, which is formed from the remnants of a massive star's core after a supernova explosion. Neutron stars are incredibly dense objects composed primarily of neutrons packed together tightly. The density of a typical pulsar is on the order of several hundred million tons per cubic centimeter, making it one of the densest known objects in the universe.
On the other hand, a white dwarf is the final stage of evolution for a low to medium mass star (up to about 8 times the mass of the Sun). It is formed when a star exhausts its nuclear fuel and sheds its outer layers, leaving behind a hot, dense core composed mainly of carbon and oxygen. The density of a white dwarf is high compared to normal matter but is significantly lower than that of a neutron star or pulsar. The density of a white dwarf is typically around one ton per cubic centimeter, which is still remarkably dense by everyday standards but much less dense than a pulsar.
In summary, while both pulsars and white dwarfs are dense objects, pulsars generally have much higher densities than white dwarfs.