question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cross entropy benchmarking functionality does not match documentation

See original GitHub issue

Documentation: https://github.com/quantumlib/Cirq/blob/1d35492f85aab580807709b3b012adeeda86cba7/cirq/experiments/cross_entropy_benchmarking.py#L107 Code: https://github.com/quantumlib/Cirq/blob/1d35492f85aab580807709b3b012adeeda86cba7/cirq/experiments/cross_entropy_benchmarking.py#L335-L337

In the code, f_meas seems to be a quite different thing from what’s documented: it is obtained by estimating the experimental bitstring probabilities prob_meas through a experimental histogram (note that most of these will be 0 at a modest number of qubits), and then multiplying that number by the theoretical probability.

It appears that the documentation is based on the assumption of exponentially distributed (Porter-Thomas) probabilities, while the code is doing something else. Is that right?

@XiaoMiQC

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mpharrigancommented, Dec 15, 2021

for your second comment @viathor there’s https://github.com/quantumlib/Cirq/issues/3775

0reactions
github-actions[bot]commented, Jan 15, 2022

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xun Gao | May 11, 2021 | Understanding Linear ... - YouTube
Title: Understanding the Linear Cross Entropy Benchmark through a Statistical Physics ModelSpeaker: Xun GaoAbstract: In a recent experiment, ...
Read more >
Not All Benchmarks Are Created Equal
- Success metrics (heavy-output probability and “linear cross-entropy”) are nominally different, but actually closely related and roughly ...
Read more >
Spoofing Linear Cross-Entropy Benchmarking in Shallow ...
To our knowledge, this is the first algorithm that directly targets the linear XEB benchmark, without going through a full simulation of the...
Read more >
arXiv:2005.02464v2 [quant-ph] 9 Oct 2020
quantum runtimes for cross-entropy benchmarking limit the region of a ... supremacy via random circuit sampling may fortuitously coincide ...
Read more >
Cross Entropy Benchmarking Theory | Cirq - Google Quantum AI
When applied to circuits with many qubits, XEB can characterize the performance of a large device. When applied to deep, two-qubit circuits it ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found