1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// SPDX-FileCopyrightText: 2026 The PPVM Authors
// SPDX-License-Identifier: Apache-2.0
use PrimInt;
use Hash;
use ;
/// Bit-string index type used by
/// [`GeneralizedTableau`](crate::data::GeneralizedTableau) to address
/// individual branches of its sparse coefficient vector.
///
/// Blanket-implemented for every primitive (and `bnum`-style) integer
/// type that supports the required bit operations. Pick:
/// * `usize` for ≤ 64 qubits,
/// * `u128` for ≤ 128,
/// * `bnum::types::U256` / `U512` / `U1024` for the wide regime.