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

Add pauli_twirl_2q_gates function #13331

Merged
merged 35 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
9c2de3d
Add twirl_circuit function
mtreinish Oct 15, 2024
33b4bde
Update asv benchmarks to use new function
mtreinish Oct 15, 2024
01a55ae
Apply suggestions from code review
mtreinish Oct 16, 2024
fd9f738
Merge branch 'main' into twirl-for-paul
mtreinish Oct 16, 2024
e70a64e
Expand testing coverage
mtreinish Oct 16, 2024
34c3e91
Add capacity option to clone_empty_from
mtreinish Oct 16, 2024
4fadd0d
Make static twirling tables more compact
mtreinish Oct 16, 2024
392782d
Make num_trials default to None to return a single circuit
mtreinish Oct 16, 2024
b4a8aac
Allow for multiple twirling gates
mtreinish Oct 16, 2024
966a439
Fix typo in max seed value
mtreinish Oct 16, 2024
f70566d
Avoid vec for qubits
mtreinish Oct 16, 2024
2eff03a
Recurse into control flow for twirling
mtreinish Oct 16, 2024
0b022cd
Avoid extra calls to interner
mtreinish Oct 16, 2024
7112f9e
Rename clone_empty_from to clone_empty_like
mtreinish Oct 16, 2024
d6ea01f
Improve docs for new rust space methods
mtreinish Oct 16, 2024
a85ec8f
Unify seeding logic
mtreinish Oct 16, 2024
4fd3187
Fix lint
mtreinish Oct 16, 2024
6d6ca43
Preserve Python space circuit metadata in output twirled circuits
mtreinish Oct 16, 2024
9d9a28a
Add option to run Optimize1qGatesDecomposition
mtreinish Oct 16, 2024
e06c7f6
Merge remote-tracking branch 'origin/main' into twirl-for-paul
mtreinish Oct 16, 2024
44c6814
Handle all gates with a matrix
mtreinish Oct 17, 2024
0b7d532
Add checking on custom gates to ensure they're valid for twirling
mtreinish Oct 18, 2024
8ead41d
Fix lint
mtreinish Oct 19, 2024
1f19714
Merge remote-tracking branch 'origin/main' into twirl-for-paul
mtreinish Oct 23, 2024
aaa6295
Pre-compute pauli gate products
mtreinish Oct 23, 2024
ca72bd0
Use square of norm to save a sqrt
mtreinish Oct 23, 2024
e56123f
Switch from taking pass to a Target
mtreinish Oct 23, 2024
b4005f8
Apply suggestions from code review
mtreinish Nov 5, 2024
2abe66a
Merge remote-tracking branch 'origin/main' into twirl-for-paul
mtreinish Nov 5, 2024
2875645
Adjust docstring
mtreinish Nov 5, 2024
294eb83
Update tests for new function name
mtreinish Nov 5, 2024
1815520
Update release note for new function name too
mtreinish Nov 5, 2024
bf72177
Merge branch 'main' into twirl-for-paul
mtreinish Nov 5, 2024
3a67b3a
Merge branch 'main' into twirl-for-paul
mtreinish Nov 7, 2024
46ac273
Rename set_qargs to add_qargs
mtreinish Nov 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/accelerate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ pub mod star_prerouting;
pub mod stochastic_swap;
pub mod synthesis;
pub mod target_transpiler;
pub mod twirling;
pub mod two_qubit_decompose;
pub mod uc_gate;
pub mod utils;
Expand Down
Loading
Loading