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

QCQMC Part 7: Add Experiment classes #354

Merged
merged 27 commits into from
Jul 2, 2024
Merged

Conversation

fdmalone
Copy link
Collaborator

@fdmalone fdmalone commented Jun 29, 2024

Depends upon #351 and #353: Adds the Experiment class which packages everything together to run a simulated experiment.

recirq/qcqmc/experiment.py Outdated Show resolved Hide resolved
recirq/qcqmc/experiment.py Outdated Show resolved Hide resolved
from recirq.qcqmc.trial_wf import TrialWavefunctionData


def test_small_experiment_raw_samples_shape(
Copy link
Collaborator

Choose a reason for hiding this comment

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

This test file seems short. Does it test everything in experiments?

Copy link
Collaborator Author

@fdmalone fdmalone Jul 2, 2024

Choose a reason for hiding this comment

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

It does at least call every function (after a small update) but the test coverage is not great. I'd need @wjhuggins to help writing some sensible physics tests of the shadow tomography protocol but I think that can be a follow up (we discussed writing some better documentation of the shadow tomography part of the code which is probably of most interest to QIS people).

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ok, yeah, let's make it a follow up PR.

@fdmalone fdmalone merged commit 0a14722 into quantumlib:master Jul 2, 2024
5 checks passed
@fdmalone fdmalone deleted the qcqmc-7 branch July 2, 2024 17:21
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.

2 participants