Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support measurements of subveqs for bracket (#2416)
* Add missing passes for translation to OpenQasm2 Signed-off-by: Anna Gringauze <[email protected]> * Fix failing tests Signed-off-by: Anna Gringauze <[email protected]> * Fix failing tests and format Signed-off-by: Anna Gringauze <[email protected]> * Address CR comments Signed-off-by: Anna Gringauze <[email protected]> * Address CR comments Signed-off-by: Anna Gringauze <[email protected]> * Fix failing tests Signed-off-by: Anna Gringauze <[email protected]> * Fix failing tests Signed-off-by: Anna Gringauze <[email protected]> * * Added Python tests for the 'braket' target Signed-off-by: Pradnya Khalate <[email protected]> * * Skip expand measurements pass * Two more tests working Signed-off-by: Pradnya Khalate <[email protected]> * * Ignore classical operations in OpenQASM2.0 translation * Additional tests Co-authored-by: Eric Schweitz <[email protected]> Signed-off-by: Pradnya Khalate <[email protected]> * * Support U3 gate Signed-off-by: Pradnya Khalate <[email protected]> * * Test for other simulators * Test for asynchronous sampling API * Failing test for observe API * More tests to cover all native gates, custom operations * One more test - check kernel that takes arguments Signed-off-by: Pradnya Khalate <[email protected]> * * Remove the `combine-quantum-alloc` pass since multiple registers are not supported. * Simplify test setup since mock server isn't being used. Signed-off-by: Pradnya Khalate <[email protected]> * * Clean-up test, use 'Amazon Braket' in messages Signed-off-by: Pradnya Khalate <[email protected]> * * Decomposition patterns for R1, CRz, Sdg Co-authored-by: Bettina Heim <[email protected]> Signed-off-by: Pradnya Khalate <[email protected]> * Remove and add some passes to braket Signed-off-by: Anna Gringauze <[email protected]> * * Added Python tests for the 'braket' target Signed-off-by: Pradnya Khalate <[email protected]> * * Skip expand measurements pass * Two more tests working Signed-off-by: Pradnya Khalate <[email protected]> * * Ignore classical operations in OpenQASM2.0 translation * Additional tests Co-authored-by: Eric Schweitz <[email protected]> Signed-off-by: Pradnya Khalate <[email protected]> * * Support U3 gate Signed-off-by: Pradnya Khalate <[email protected]> * * Test for other simulators * Test for asynchronous sampling API * Failing test for observe API * More tests to cover all native gates, custom operations * One more test - check kernel that takes arguments Signed-off-by: Pradnya Khalate <[email protected]> * * Remove the `combine-quantum-alloc` pass since multiple registers are not supported. * Simplify test setup since mock server isn't being used. Signed-off-by: Pradnya Khalate <[email protected]> * * Clean-up test, use 'Amazon Braket' in messages Signed-off-by: Pradnya Khalate <[email protected]> * * Decomposition patterns for R1, CRz, Sdg Co-authored-by: Bettina Heim <[email protected]> Signed-off-by: Pradnya Khalate <[email protected]> * * Addd `tdg` decomposition Signed-off-by: Pradnya Khalate <[email protected]> * * Control modifier fixes Signed-off-by: Pradnya Khalate <[email protected]> * * More tests Signed-off-by: Pradnya Khalate <[email protected]> * * Failing test for multiple measurement ops Signed-off-by: Pradnya Khalate <[email protected]> * Update lib/Optimizer/Transforms/DecompositionPatterns.cpp Co-authored-by: Eric Schweitz <[email protected]> Signed-off-by: Pradnya Khalate <[email protected]> * Add combine-measurements pass Signed-off-by: Anna Gringauze <[email protected]> * * Remove the decomposition patterns for 'SAdjToSZ' and 'TAdjToR1' since the existing 'SToR1' and 'TToR1' are sufficient * Disable 'R1toU3' pattern on all pipelines * Clean -up comments Signed-off-by: Pradnya Khalate <[email protected]> * * Restore 'translateOperatorName' function, and the corresponding test Signed-off-by: Pradnya Khalate <[email protected]> * * Correct the comment about global pahse on R1ToU3 * Simpler command-line invocation in test Signed-off-by: Pradnya Khalate <[email protected]> * Made the tests work end to end Signed-off-by: Anna Gringauze <[email protected]> * Update translate tests Signed-off-by: Anna Gringauze <[email protected]> * support multimple qubit measurements Signed-off-by: Anna Gringauze <[email protected]> * Added tests Signed-off-by: Anna Gringauze <[email protected]> * Address CR comments Signed-off-by: Anna Gringauze <[email protected]> * Address CR comments and remove printing Signed-off-by: Anna Gringauze <[email protected]> * Address CR comments and remove printing Signed-off-by: Anna Gringauze <[email protected]> * Fix test failures and address CR comments Signed-off-by: Anna Gringauze <[email protected]> * Fix test failures Signed-off-by: Anna Gringauze <[email protected]> * Update combine-measurements after merging with main Signed-off-by: Anna Gringauze <[email protected]> * Address CR comments Signed-off-by: Anna Gringauze <[email protected]> * Format Signed-off-by: Anna Gringauze <[email protected]> * Address CR comments * DCO Remediation Commit for Anna Gringauze <[email protected]> I, Anna Gringauze <[email protected]>, hereby add my Signed-off-by to this commit: 3966ee3 Signed-off-by: Anna Gringauze <[email protected]> --------- Signed-off-by: Anna Gringauze <[email protected]> Signed-off-by: Pradnya Khalate <[email protected]> Signed-off-by: Pradnya Khalate <[email protected]> Co-authored-by: Pradnya Khalate <[email protected]> Co-authored-by: Pradnya Khalate <[email protected]> Co-authored-by: Eric Schweitz <[email protected]>
- Loading branch information