qiboteam / qibo

A framework for quantum computing
https://qibo.science
Apache License 2.0
287 stars 58 forks source link

`DBI_strategy_Pauli-Z_products.ipynb` example has bugs mostly related to `dbi/utils.py` functions #1339

Open MatteoRobbiati opened 4 months ago

MatteoRobbiati commented 4 months ago

I report here some things to be fixed in the mentioned example:

  1. the first plot cannot be read: labels are overlapping. I would remove them and set step number in the X axis and off-diag norm in the Y axis;
  2. there are problems in the utils.py file, which is not properly tested. I assume we are working on that in a separated PR, then I suggest to test these examples (using our testing routine) to be sure everything is working properly.

To reproduce just run the example.