apply_layer_adjoint

Function apply_layer_adjoint 

Source
pub fn apply_layer_adjoint<const W: usize, C, T>(
    input: &PauliSum<W>,
    channel: &C,
    policy: &T,
) -> PauliSum<W>
where C: Channel<W> + ?Sized, T: TruncationPolicy<W> + ?Sized,
Expand description

Apply a channel’s adjoint to a PauliSum. Used by propagate in Direction::Heisenberg mode; structurally identical to apply_layer but routes through Channel::apply_adjoint.