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

Issues related to Benchmarks

Open GiggleLiu opened this issue 5 years ago • 2 comments

  • In primitive block benchmark, we should use put rather than repeat?
  • Do not use rand in this benchmark, please specify a deterministic position for benchmark.

GiggleLiu avatar Jul 05 '19 03:07 GiggleLiu

No, the benchmark here is mainly to make sure that each block's apply is dispatched to correct function in certain context. The benchmark of instructions is in YaoArrayRegister. So in principle, we should have both, I just didn't write it in last PR. (I only set up the basic things)

Then specify a random seed?

Roger-luo avatar Jul 05 '19 03:07 Roger-luo

Ok, I see. Then about random numbers, why not just specify two numbers to provide better readability?

GiggleLiu avatar Jul 05 '19 06:07 GiggleLiu