TheDocumentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
QBit data type reorganizes vector storage for faster approximate searches. Instead of storing each vector’s elements together, it groups the same binary digit positions across all vectors.
This stores vectors at full precision while letting you choose the fine-grained quantization level at search time: read fewer bits for less I/O and faster calculations, or more bits for higher accuracy. You get the speed benefits of reduced data transfer and computation from quantization, but all the original data remains available when needed.
To declare a column of QBit type, use the following syntax:
element_type– the type of each vector element. The allowed types areBFloat16,Float32andFloat64dimension– the number of elements in each vector
Creating QBit
Using theQBit type in table column definition:
QBit subcolumns
QBit implements a subcolumn access pattern that allows you to access individual bit planes of the stored vectors. Each bit position can be accessed using the .N syntax, where N is the bit position:
BFloat16: 16 subcolumns (1-16)Float32: 32 subcolumns (1-32)Float64: 64 subcolumns (1-64)
Vector search functions
These are the distance functions for vector similarity search that useQBit data type: