pub struct QuantumVisualizer;Expand description
Quantum state visualization tools
Implementations§
Source§impl QuantumVisualizer
impl QuantumVisualizer
Sourcepub fn visualize_wavefunction(
x: &Array1<f64>,
probability_density: &Array1<f64>,
time: f64,
) -> IntegrateResult<HeatMapPlot>
pub fn visualize_wavefunction( x: &Array1<f64>, probability_density: &Array1<f64>, time: f64, ) -> IntegrateResult<HeatMapPlot>
Create wave function visualization
Sourcepub fn visualize_complex_phase(
real_parts: &[f64],
imag_parts: &[f64],
phases: &[f64],
) -> IntegrateResult<PhaseSpacePlot>
pub fn visualize_complex_phase( real_parts: &[f64], imag_parts: &[f64], phases: &[f64], ) -> IntegrateResult<PhaseSpacePlot>
Create complex phase visualization
Sourcepub fn visualize_expectation_evolution(
times: &[f64],
positions: &[f64],
momenta: &[f64],
) -> IntegrateResult<PhaseSpacePlot>
pub fn visualize_expectation_evolution( times: &[f64], positions: &[f64], momenta: &[f64], ) -> IntegrateResult<PhaseSpacePlot>
Create expectation value evolution plot
Sourcepub fn visualize_energy_levels(
energies: &Array1<f64>,
wavefunctions: &Array2<f64>,
) -> IntegrateResult<VectorFieldPlot>
pub fn visualize_energy_levels( energies: &Array1<f64>, wavefunctions: &Array2<f64>, ) -> IntegrateResult<VectorFieldPlot>
Create energy level diagram
Auto Trait Implementations§
impl Freeze for QuantumVisualizer
impl RefUnwindSafe for QuantumVisualizer
impl Send for QuantumVisualizer
impl Sync for QuantumVisualizer
impl Unpin for QuantumVisualizer
impl UnwindSafe for QuantumVisualizer
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> 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