Skip to content

Commit

Permalink
WIP: Add base representation of SparseObservable
Browse files Browse the repository at this point in the history
This adds the very base representation of `SparseObservable`, including
the lowest-level constructor from Python space and the ability to view
the data buffers.  It does not add any of the means to calculate with
it, nor any of the high-level interfaces to construction.

This WIP commit will be amended to at least add documentation and tests
of the contents.
  • Loading branch information
jakelishman committed Jul 3, 2024
1 parent 419f40e commit 0fa4a90
Show file tree
Hide file tree
Showing 6 changed files with 698 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/accelerate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub mod pauli_exp_val;
pub mod results;
pub mod sabre;
pub mod sampled_exp_val;
pub mod sparse_observable;
pub mod sparse_pauli_op;
pub mod stochastic_swap;
pub mod synthesis;
Expand Down
Loading

0 comments on commit 0fa4a90

Please sign in to comment.