qiboteam / qibo

A full-stack framework for quantum computing.
https://qibo.science
Apache License 2.0
294 stars 60 forks source link

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

Open MatteoRobbiati opened 5 months ago

MatteoRobbiati commented 5 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.