pub struct AbsorbedStep<St, L>{
pub site_i: Tensor<St, L>,
pub site_ip1: Tensor<St, L>,
pub bond_dim: usize,
}Expand description
Post-absorb site tensors + new bond dimension returned by
DmrgOps::full_step_k, paired there with the diagnostic scalars.
The matching diagnostics (eigenvalue / residual / trunc-err / iters /
converged) are typed on T::Real and returned alongside this struct
rather than held on it; folding them in would force a third scalar
parameter, so the struct stays keyed on (St, L) only.
Fields§
§site_i: Tensor<St, L>Post-absorb tensor to write into MPS site i.
site_ip1: Tensor<St, L>Post-absorb tensor to write into MPS site i + 1.
bond_dim: usizeBond dimension of the new shared bond between sites i and
i + 1. For BlockSparse / U(1), summed over retained sectors.
Auto Trait Implementations§
impl<St, L> Freeze for AbsorbedStep<St, L>
impl<St, L> RefUnwindSafe for AbsorbedStep<St, L>where
St: RefUnwindSafe,
L: RefUnwindSafe,
impl<St, L> Send for AbsorbedStep<St, L>
impl<St, L> Sync for AbsorbedStep<St, L>
impl<St, L> Unpin for AbsorbedStep<St, L>
impl<St, L> UnsafeUnpin for AbsorbedStep<St, L>where
St: UnsafeUnpin,
L: UnsafeUnpin,
impl<St, L> UnwindSafe for AbsorbedStep<St, L>where
St: UnwindSafe,
L: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more