-
Notifications
You must be signed in to change notification settings - Fork 575
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qcut sampling template expansion (#2399)
* extend graph_to_tape for sampling, add unit test * add PR to changelog * add fragment sample circuit unit test * Apply suggestions from code review Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * add sampling tensor obs error, add test * add test for sample obs * Apply suggestions from code review Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * extend graph to tape logic to sample measurements, add unit test * remove unused logic, add mid circuit meas test * update changelog * fix variables * Apply suggestions from code review Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * add suggestions from code review * add upsupported meas exception, add unit test * fix codefactor issue * add expand_fragment_tapes_mc function and unit test * update docs * update changelog * update unit test * add unit tests for MC measurements and state preps * update expansion logic, add unit test * fix wire bug * Apply suggestions from code review Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * add suggestions from code review * begin mc postprocessing function, add unit test * attempt MC postprocessing * update sample postprocessing, add mc, add unit test * add mc unit test, update docs and changlog * Apply suggestions from code review Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * add suggestions from code review * add remaining suggestions * add cut_circuit_mc transform, add unit test * update docs, changelog, tests * Apply suggestions from code review Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * add suggestions from code review * update shots logic, add unit tests * draft usage details * add validation, add unit tests * update usage details wording * update _reshape_results helper function and unit test * update usage details with working example * Apply suggestions from code review Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> * add review suggestions * add unit tests for validation * fix test * add _qcut_expand_fn_mc and unit tests * update changelog * retrigger checks * revert merge conflict * restructure logic * add docstrings * Minor changes * Compact parametrize * Correct typo * Use kwargs * Fix spies * Reword * Fix CI * retrigger checks Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> Co-authored-by: trbromley <brotho02@gmail.com>
- Loading branch information
1 parent
3a519bf
commit 3af8ae3
Showing
3 changed files
with
87 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters