You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where ibig is the index within the array of UIntx and ismall is the bit within that UIntx. This is getting too repetitive at this point. Find a better way to write it, abstract it away.
Consult the small symbolic Cliffords (e.g. sHadamard) as they have some more abstraction.
The text was updated successfully, but these errors were encountered:
Keeping this open as there can still be additional cleanup even after #367.
#367 would be a good reference for future work on this as well.
In particular, now with #364 we consistently just get the small and big indices, but an abstraction that does not require the user to explicitly perform that step would still be useful. E.g. something like bi = BitIndexer(stabilizer); bi[i,j] == stabilizer.xzs[ibig] & imask (up to some typos in the example). But really, it would be much better if just writing stabilizer[i,j] ends up being as fast so we do not need this explicit indexing.
In many places in the code you can see
where
ibig
is the index within the array of UIntx andismall
is the bit within that UIntx. This is getting too repetitive at this point. Find a better way to write it, abstract it away.Consult the small symbolic Cliffords (e.g.
sHadamard
) as they have some more abstraction.The text was updated successfully, but these errors were encountered: