pub fn prepare_bit4_query(q: &[f32], seed: u64) -> Result<Bit4Query, QuantError>Expand description
Prepares one query for repeated four-bit row scoring.
The seed controls reproducible stochastic rounding only. Random rotation is not performed by this v1 API. A zero query receives scale zero and all-zero signed codes.
ยงErrors
Returns QuantError::EmptyVector, QuantError::DimensionTooLarge, or
QuantError::NonFinite under the same input policy as
quantize_bit4.