PQ PQ is a vector compression and indexing method that quantizes high-dimensional vectors into compact binary codes enables efficient storage and retrieval of dense vectors while preserving their semantic properties.