Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make RB random again #995

Merged
merged 4 commits into from
Oct 17, 2024
Merged

Make RB random again #995

merged 4 commits into from
Oct 17, 2024

Conversation

hay-k
Copy link
Contributor

@hay-k hay-k commented Oct 2, 2024

Summary

RB circuits were not random enough. This PR makes them random enough.

Two examples

before: http://login.qrccluster.com:9000/Szg1hROpSDCJFjBKXUtPtQ==/
after: http://login.qrccluster.com:9000/uf9sLKHkSBSjm9iZruRP0g==/

before: http://login.qrccluster.com:9000/oGx4JpRpTZGONzR1nsBzFA==/
after: http://login.qrccluster.com:9000/iGTKwIO8Rhewk0dY2lJsQQ==/

Comments

  • Because of this bug the results were highly dependent on parameters used to run the experiment (depths, nither, seed). If you were lucky you could even get proper RB output, but most of the time the quality of data degraded quickly with increasing depth.
  • If you ran RB only for short depths (e.g. like this one), which a lot of people do apparently, you would think the experiment works fine and the data is fine. But increasing the depth reveals the issue.

Copy link

codecov bot commented Oct 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.48%. Comparing base (ed9fb0b) to head (4704913).
Report is 17 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #995      +/-   ##
==========================================
- Coverage   97.50%   97.48%   -0.03%     
==========================================
  Files         123      123              
  Lines        9714     9714              
==========================================
- Hits         9472     9470       -2     
- Misses        242      244       +2     
Flag Coverage Δ
unittests 97.48% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...qibocal/protocols/randomized_benchmarking/utils.py 95.80% <100.00%> (ø)

... and 1 file with indirect coverage changes

@Edoardo-Pedicillo Edoardo-Pedicillo added this to the Qibocal 0.1.1 milestone Oct 3, 2024
@hay-k hay-k marked this pull request as ready for review October 8, 2024 11:55
Copy link
Contributor

@Edoardo-Pedicillo Edoardo-Pedicillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hay-k

@hay-k hay-k added this pull request to the merge queue Oct 17, 2024
Merged via the queue into main with commit 731c9b1 Oct 17, 2024
21 checks passed
@hay-k hay-k deleted the randomize_rb branch October 17, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants