pub struct LaserPulse {
pub frequency: f64,
pub rabi_frequency: f64,
pub duration: f64,
pub phase: f64,
pub detuning: f64,
pub target_ions: Vec<usize>,
pub addressing_efficiency: f64,
}
Expand description
Laser parameters for ion manipulation
Fields§
§frequency: f64
Laser frequency in Hz
rabi_frequency: f64
Rabi frequency in Hz
duration: f64
Pulse duration in seconds
phase: f64
Laser phase in radians
detuning: f64
Detuning from atomic transition in Hz
target_ions: Vec<usize>
Target ion(s)
addressing_efficiency: f64
Addressing efficiency (0-1)
Implementations§
Source§impl LaserPulse
impl LaserPulse
Sourcepub fn carrier_pulse(
rabi_frequency: f64,
duration: f64,
phase: f64,
target_ions: Vec<usize>,
) -> Self
pub fn carrier_pulse( rabi_frequency: f64, duration: f64, phase: f64, target_ions: Vec<usize>, ) -> Self
Create carrier transition pulse
Trait Implementations§
Source§impl Clone for LaserPulse
impl Clone for LaserPulse
Source§fn clone(&self) -> LaserPulse
fn clone(&self) -> LaserPulse
Returns a duplicate of the value. Read more
1.0.0 · 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 LaserPulse
impl RefUnwindSafe for LaserPulse
impl Send for LaserPulse
impl Sync for LaserPulse
impl Unpin for LaserPulse
impl UnwindSafe for LaserPulse
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,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.