You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Rust function apply_operators_in_place should be callable from the Python apply method, with appropriate data structure conversion and error handling.
Test the integration thoroughly to ensure consistency in results between Python and Rust implementations.
evmckinney9
changed the title
[Feature Request]: Handle trotterization in rust
[Feature Request]: Enhance TrotterGroup.apply() with Second-Order Trotterization and Rust Integration
Nov 17, 2023
There should be some refactoring involved with the TrotterGroup class. Currently, the behavior is to alternate over an arbitrarily sized list of "background" operators (A) with a single unitary (B). We should make A a single operator, by enforcing that the operators assigned to the class are commuting.
Otherwise, we could trotterize more than 2 operators, e.g. A,B,C with one another, but I'm not sure if the higher-order trotterizations are defined with this idea in mind.
Description
This issue focuses on two key enhancements to the
TrotterGroup
class:Background
Proposed Changes
apply
method in theTrotterGroup
class to implement second-order Trotterization.apply
method to choose between Python and Rust for Trotterization computation.CPTPMap
,Channel
, andQobj
.Rust Code Reference
Python-Rust Integration
apply_operators_in_place
should be callable from the Pythonapply
method, with appropriate data structure conversion and error handling.Additional Resources
Testing
The text was updated successfully, but these errors were encountered: