pub trait TimeDependentOperator: Send + Sync {
// Required methods
fn shape(&self) -> (usize, usize);
fn apply_at(
&self,
time: f64,
input: &[Complex64],
output: &mut [Complex64],
) -> Result<()>;
}Expand description
Narrow waist for operators whose action depends explicitly on time.