Implement QBit data type for bit-transposed Float64 vector storage #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog entry
Add QBit library for storing Float64 vectors in bit-transposed format, enabling efficient vector similarity search operations.
Changelog category
Description for reviewers
Implements QBit data structure in
ydb/library/qbit/that storesList<Float64>vectors by transposing bits across elements. Instead of element-wise storage, data is organized into 64 bit planes where each plane contains one bit position from all vector elements.Core Implementation (327 lines)
TQBitclass with bit transposition algorithmsAPI
Use Cases
Verification
Based on ClickHouse QBit implementation.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
devtools-registry.s3.yandex.net/usr/bin/python3 /usr/bin/python3 /home/REDACTED/work/ydb/ydb/ya make(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.