reinterpret
to permit easily changing the internal bit-packing of the tableaux
#453
Labels
reinterpret
to permit easily changing the internal bit-packing of the tableaux
#453
We pack the bits representing the tableau in
UInt
s and use bit-wise operations on them.The library is set to support any sized
UInt8/16/...
, but we usually just use the default one.There are a few tests that make sure that other sizes are still suported though (e.g.
bitpacking
andecc_syndromes
).It would be useful to create the appropriate methods of
reinterpret
so that such tests are easier to write.Here are some untested draft implementations (not a particularly good API design either):
This is also of great use when considering GPU code. (there should be "See also" entries to
fastcolumn
andfastrow
andtocpu
andtogpu
).The text was updated successfully, but these errors were encountered: