-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bosonic backend fixes - Allows for multiple shots for measurements (new test) - Raises an error if symbolic non-Gaussian state prep is attempted * Bosonic engine Defines the BosonicEngine class Co-Authored-By: ilan-tz <57886357+ilan-tz@users.noreply.github.com> Co-Authored-By: Josh Izaac <josh@iza.ac> Co-Authored-By: Nicolas Quesada <991946+nquesada@users.noreply.github.com> * Adds ancilla samples to Results class Ancilla samples are produced by ancillary modes used for measurement-based gates * Integration tests Updates/adds new integration tests to apply to the bosonic backend * Codefactor changes * Codefactor changes * Test for parameter_checker function boosts code coverage * Update engine Deletes the run method from the BosonicEngine, since it can be inherited from LocalEngine with a minimal change. * Fix empty circuit bug * disable too-many-branches for run_prog * Ran black on test_bosonic_backend * Apply suggestions from code review Co-authored-by: antalszava <antalszava@gmail.com> * Implemented changes from code review - discovered and fixed bug in array dimension of returned samples - makes tests more readable - adds ancilla information to string of Results __repr__ - adds BosonicEngine to docs Co-Authored-By: antalszava <24476053+antalszava@users.noreply.github.com> * Code factor + test tidying * Use isinstance and Iterable to check type Co-Authored-By: Theodor <6934626+thisac@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: antalszava <antalszava@gmail.com> * Applied suggestions from code review Co-Authored-By: antalszava <24476053+antalszava@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: ilan-tz <57886357+ilan-tz@users.noreply.github.com> Co-authored-by: Josh Izaac <josh@iza.ac> Co-authored-by: Nicolas Quesada <991946+nquesada@users.noreply.github.com> Co-authored-by: antalszava <antalszava@gmail.com> Co-authored-by: antalszava <24476053+antalszava@users.noreply.github.com> Co-authored-by: Theodor <6934626+thisac@users.noreply.github.com> Co-authored-by: Theodor <theodor@xanadu.ai>
- Loading branch information
1 parent
618f59a
commit 33194f6
Showing
13 changed files
with
370 additions
and
90 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
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
Oops, something went wrong.