pub struct ScatteringStates {
pub energy: f64,
pub leads: Vec<CMat>,
}Expand description
Scattering states at one energy (see NestedTwoTerminal::scattering_states and
crate::NestedMultiTerminal::scattering_states).
Fields§
§energy: f64Energy E of the states.
leads: Vec<CMat>ψ_p = G W_p for each lead p, on every device orbital (rows, in the order of the
region), one column per channel of the lead: W_p W_p† = Γ_p, so ψ_p ψ_p† = G Γ_p G†
is the spectral function of the electrons lead p injects. Two-terminal devices list the
left lead, then the right one.
Implementations§
Source§impl ScatteringStates
impl ScatteringStates
Sourcepub fn occupation(&self, f: &[f64]) -> Vec<f64>
pub fn occupation(&self, f: &[f64]) -> Vec<f64>
Occupied spectral density Im G^<_aa / 2π = Σ_p f_p |ψ_p,a|² / 2π of every orbital, for
the lead occupations f (G^< = i Σ_p f_p ψ_p ψ_p†). With every f_p = 1 it is the local
density of states of the scattering states (bound states of the device are not included).
Trait Implementations§
Source§impl Clone for ScatteringStates
impl Clone for ScatteringStates
Source§fn clone(&self) -> ScatteringStates
fn clone(&self) -> ScatteringStates
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScatteringStates
impl RefUnwindSafe for ScatteringStates
impl Send for ScatteringStates
impl Sync for ScatteringStates
impl Unpin for ScatteringStates
impl UnsafeUnpin for ScatteringStates
impl UnwindSafe for ScatteringStates
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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