pub struct GPUMultiBodyQuantumSolver {
pub base_solver: GPUQuantumSolver,
pub n_particles: usize,
pub interaction_cache: HashMap<String, Array2<Complex64>>,
pub tensor_network: TensorNetwork,
}Expand description
GPU-accelerated multi-body quantum solver for large entangled systems
Fields§
§base_solver: GPUQuantumSolverBase GPU solver
n_particles: usizeNumber of particles
interaction_cache: HashMap<String, Array2<Complex64>>Interaction matrix cache
tensor_network: TensorNetworkTensor network representation
Implementations§
Source§impl GPUMultiBodyQuantumSolver
impl GPUMultiBodyQuantumSolver
Sourcepub fn new(device_id: usize, nparticles: usize) -> Result<Self>
pub fn new(device_id: usize, nparticles: usize) -> Result<Self>
Create new GPU multi-body quantum solver
Trait Implementations§
Source§impl Clone for GPUMultiBodyQuantumSolver
impl Clone for GPUMultiBodyQuantumSolver
Source§fn clone(&self) -> GPUMultiBodyQuantumSolver
fn clone(&self) -> GPUMultiBodyQuantumSolver
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 GPUMultiBodyQuantumSolver
impl RefUnwindSafe for GPUMultiBodyQuantumSolver
impl Send for GPUMultiBodyQuantumSolver
impl Sync for GPUMultiBodyQuantumSolver
impl Unpin for GPUMultiBodyQuantumSolver
impl UnwindSafe for GPUMultiBodyQuantumSolver
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 more