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

Oxidize TwoQubitWeylDecomposition #11946

Merged
merged 49 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
c7d675f
Oxidize TwoQubitWeylDecomposition
mtreinish Feb 25, 2024
ce56929
Fix typo in closest_partial_swap()
mtreinish Mar 6, 2024
f2323db
Run black and lint
mtreinish Mar 6, 2024
201c763
Fix potential imaginary component sign flip in determinant
mtreinish Mar 7, 2024
f087ee8
Run cargo fmt
mtreinish Mar 7, 2024
368c950
Simplify using numpy eigh example comment
mtreinish Mar 7, 2024
7302a29
Add missing checks to decompose_two_qubit_product_gate()
mtreinish Mar 10, 2024
207225f
Use rng first trial from Python implementation
mtreinish Mar 10, 2024
a479382
Fix whitespace in error message
mtreinish Mar 10, 2024
2eb7f86
Fix assert check
mtreinish Mar 11, 2024
c245f25
Fix missing multiplier on specialized weyl gate
mtreinish Mar 11, 2024
0a59e79
Fix various mistakes
mtreinish Mar 11, 2024
38e7c62
Add pickle serialization support for TwoQubitWeylDecomposition
mtreinish Mar 11, 2024
9ae7288
Remove duplicate conjs increment
mtreinish Mar 11, 2024
9b58e34
Fix fSim abmb equivalent specialization
mtreinish Mar 11, 2024
096550b
Add specialized test class back
mtreinish Mar 11, 2024
17e917f
Use QiskitError for backwards compatibility
mtreinish Mar 11, 2024
d0863fb
Add release note
mtreinish Mar 11, 2024
6b4501f
Make explicit specialization private
mtreinish Mar 11, 2024
b273c93
Use explicit inheritance from general decomposition (#23)
jakelishman Mar 11, 2024
3bc353f
Apply suggestions from code review
mtreinish Mar 11, 2024
aff637e
Use smallvec for circuit sequence params and qubits
mtreinish Mar 11, 2024
817cf4b
Use const 2x2 identity array where possible
mtreinish Mar 11, 2024
f2e7b6d
circuit() and weyl_gate don't need a mutable self
mtreinish Mar 11, 2024
2c5d963
Remove unnecessary inline annotations
mtreinish Mar 11, 2024
99db4bf
Rename Specializations enum Specialization
mtreinish Mar 11, 2024
1a8be85
Add back specialize() method and deprecate
mtreinish Mar 11, 2024
a2fcc58
Reorganize Python/Rust split to wrap rust instead of subclass
mtreinish Mar 11, 2024
e3c18ae
Remove unecessary allocations
mtreinish Mar 11, 2024
376b2e7
Rename DEFAULT_ATOL to ANGLE_ZERO_EPSILON
mtreinish Mar 11, 2024
89070e4
Stop obsessing over -0
mtreinish Mar 11, 2024
5fac9ac
Handle enum to int conversion as method
mtreinish Mar 11, 2024
cbbdb53
Cleanup decompose_two_qubit_product_gate()
mtreinish Mar 11, 2024
9a914c2
Use a trait for trace_to_fid()
mtreinish Mar 11, 2024
33d073d
Use an enum instead of string for euler basis
mtreinish Mar 11, 2024
160d705
Fix release note typo
mtreinish Mar 11, 2024
9bf2f15
Improve magic basis transformation functions
mtreinish Mar 12, 2024
20d6264
Merge branch 'main' into rust-whales-transcription
mtreinish Mar 12, 2024
6712ade
Remove eigh() util function
mtreinish Mar 12, 2024
27a7587
Revert unecessary changes to callers of TwoQubitWeylDecomposition
mtreinish Mar 12, 2024
03c4af5
Restore debug logging and add test assertions for it
mtreinish Mar 12, 2024
05f1966
Merge branch 'rust-whales-transcription' of github.com:mtreinish/qisk…
mtreinish Mar 12, 2024
84e9c67
Update qiskit/synthesis/two_qubit/two_qubit_decompose.py
mtreinish Mar 14, 2024
c52bffa
Add specialization to __str__
mtreinish Mar 14, 2024
76d2ccf
Add previous specialized class docstrings as inline rust code comments
mtreinish Mar 14, 2024
ade9c80
Rename fSim variants and suprress rustc warning about camel case
mtreinish Mar 14, 2024
fc4a70e
Merge branch 'main' into rust-whales-transcription
mtreinish Mar 14, 2024
d9fb03d
Update tests for correct specialization enum name
mtreinish Mar 14, 2024
4dda4be
Expose specialization enum via private class attr and use for __repr__
mtreinish Mar 14, 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
13 changes: 13 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions crates/accelerate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,15 @@ features = ["union"]

[dependencies.pyo3]
workspace = true
features = ["hashbrown", "indexmap", "num-complex", "num-bigint"]
features = ["hashbrown", "indexmap", "num-complex", "num-bigint", "smallvec"]

[dependencies.ndarray]
version = "^0.15.6"
features = ["rayon"]
features = ["rayon", "approx-0_5"]

[dependencies.approx]
version = "0.5"
features = ["num-complex"]

[dependencies.hashbrown]
workspace = true
Expand Down
Loading
Loading