Loading...
Searching...
No Matches
gpr::quantum::ringbath::Kernel Struct Reference

#include <gpr/quantum/RingBathKernel.h>

Public Member Functions

std::vector< Matrix > midpoint () const

Public Attributes

Potential potential = Potential::Relaxed
std::vector< Matrix > lower
std::vector< Matrix > upper

Detailed Description

Definition at line 60 of file RingBathKernel.h.

Member Function Documentation

◆ midpoint()

std::vector< Matrix > gpr::quantum::ringbath::Kernel::midpoint ( ) const
inline

Definition at line 63 of file RingBathKernel.h.

64 {
65 std::vector<Matrix> mid;
66 for (std::size_t k = 0; k < lower.size(); ++k)
67 mid.push_back(.5 * (lower[k] + upper[k]));
68 return mid;
69 }
std::vector< Matrix > upper
std::vector< Matrix > lower

Member Data Documentation

◆ lower

std::vector<Matrix> gpr::quantum::ringbath::Kernel::lower

Definition at line 62 of file RingBathKernel.h.

◆ potential

Potential gpr::quantum::ringbath::Kernel::potential = Potential::Relaxed

Definition at line 61 of file RingBathKernel.h.

◆ upper

std::vector<Matrix> gpr::quantum::ringbath::Kernel::upper

Definition at line 62 of file RingBathKernel.h.


The documentation for this struct was generated from the following file: