QuantumClifford.jl icon indicating copy to clipboard operation
QuantumClifford.jl copied to clipboard

simplify random operator generation

Open Krastanov opened this issue 3 years ago • 0 comments

Currently the code branches a lot on the size of the operator being generated (using ints for n<30, float for n<500, bigint ootherwise). ILog2 takes care of some of that branching. See how much you can simplify the code by using it. See https://github.com/Krastanov/QuantumClifford.jl/pull/47#issuecomment-1113556209=

Krastanov avatar Apr 29 '22 21:04 Krastanov