-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from cerisola/underdamped
Add underdamped bosonic spectral density
- Loading branch information
Showing
6 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# [Underdamped Spectral Density](@id Boson-Underdamped) | ||
```math | ||
J(\omega)=\frac{\lambda^2 \Gamma \omega}{(\omega^2 - \omega_0^2)^2 + \omega^2\Gamma^2} | ||
``` | ||
Here, ``\lambda`` represents the coupling strength between system and the bosonic environment with band-width ``\Gamma`` and resonance frequency ``\omega_0``. | ||
|
||
## Matsubara Expansion | ||
With Matsubara Expansion, the correlation function can be analytically solved and expressed as follows: | ||
```math | ||
C(t_1, t_2) = C^\mathrm{R}(t_1, t_2) + iC^\mathrm{I}(t_1, t_2) = \sum_{l=1}^{\infty} \eta_l^\mathrm{R} \exp(-\gamma_l^\mathrm{R} (t_1-t_2)) + \sum_{l=1}^{2} \eta_l^\mathrm{I} \exp(-\gamma_l^\mathrm{I} (t_1-t_2)) | ||
``` | ||
with | ||
```math | ||
\begin{aligned} | ||
\gamma_{1}^\mathrm{R} &= -i\Omega + \frac{\Gamma}{2},\\ | ||
\eta_{1}^\mathrm{R} &= \frac{\lambda^2}{4\Omega}\coth\left[\frac{1}{2 k_B T}\left(\Omega + i\frac{\Gamma}{2}\right)\right],\\ | ||
\gamma_{2}^\mathrm{R} &= i\Omega + \frac{\Gamma}{2},\\ | ||
\eta_{2}^\mathrm{R} &= \frac{\lambda^2}{4\Omega}\coth\left[\frac{1}{2 k_B T}\left(\Omega - i\frac{\Gamma}{2}\right)\right],\\ | ||
\gamma_{l\neq 2}^\mathrm{R} &= 2\pi l k_B T,\\ | ||
\eta_{l\neq 2}^\mathrm{R} &= -2 k_B T \cdot \frac{\lambda^2 \Gamma \cdot \gamma_l^\mathrm{R}}{\left[\left(\Omega + i\frac{\Gamma}{2}\right)^2 + {\gamma_l^\mathrm{R}}^2\right]\left[\left(\Omega - i\frac{\Gamma}{2}\right)^2 + {\gamma_l^\mathrm{R}}^2\right]},\\ | ||
\gamma_{1}^\mathrm{I} &= i\Omega + \frac{\Gamma}{2},\\ | ||
\eta_{1}^\mathrm{I} &= i\frac{\lambda^2}{4\Omega},\\ | ||
\gamma_{2}^\mathrm{I} &= -i\Omega + \frac{\Gamma}{2},\\ | ||
\eta_{2}^\mathrm{I} &= -i\frac{\lambda^2}{4\Omega}, | ||
\end{aligned} | ||
``` | ||
where ``\Omega = \sqrt{\omega_0^2 + (\Gamma/2)^2}``. | ||
This can be constructed by the built-in function [`Boson_Underdamped_Matsubara`](@ref): | ||
```julia | ||
Vs # coupling operator | ||
λ # coupling strength | ||
Γ # band-width of the environment | ||
ω0 # resonance frequency of the environment | ||
kT # the product of the Boltzmann constant k and the absolute temperature T | ||
N # Number of exponential terms | ||
bath = Boson_Underdamped_Matsubara(Vs, λ, Γ, ω0, kT, N - 2) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
export Boson_Underdamped_Matsubara | ||
|
||
@doc raw""" | ||
Boson_Underdamped_Matsubara(op, λ, Γ, ω0, kT, N) | ||
Construct an underdamped bosonic bath with Matsubara expansion | ||
# Parameters | ||
- `op` : The system coupling operator, must be Hermitian and, for fermionic systems, even-parity to be compatible with charge conservation. | ||
- `λ::Real`: The coupling strength between the system and the bath. | ||
- `Γ::Real`: The band-width of the bath spectral density. | ||
- `ω0::Real`: The resonance frequency of the bath spectral density. | ||
- `kT::Real`: The product of the Boltzmann constant ``k`` and the absolute temperature ``T`` of the bath. | ||
- `N::Int`: (N+2)-terms of exponential terms are used to approximate the bath correlation function. | ||
# Returns | ||
- `bath::BosonBath` : a bosonic bath object with describes the interaction between system and bosonic bath | ||
""" | ||
function Boson_Underdamped_Matsubara(op, λ::Real, Γ::Real, ω0::Real, kT::Real, N::Int) | ||
Ω = sqrt(ω0^2 - (Γ / 2)^2) | ||
ν = 2π * kT * (1:N) | ||
|
||
η_real = ComplexF64[(λ^2/(4*Ω))*coth((Ω + im * Γ / 2) / (2 * kT)), (λ^2/(4*Ω))*coth((Ω - im * Γ / 2) / (2 * kT))] | ||
γ_real = ComplexF64[Γ/2-im*Ω, Γ/2+im*Ω] | ||
η_imag = ComplexF64[(λ^2/(4*Ω))*im, -(λ^2 / (4 * Ω))*im] | ||
γ_imag = ComplexF64[Γ/2-im*Ω, Γ/2+im*Ω] | ||
|
||
if N > 0 | ||
for l in 1:N | ||
append!(η_real, -2 * λ^2 * Γ * kT * ν[l] / (((Ω + im * Γ / 2)^2 + ν[l]^2) * ((Ω - im * Γ / 2)^2 + ν[l]^2))) | ||
append!(γ_real, ν[l]) | ||
end | ||
end | ||
|
||
return BosonBath(op, η_real, γ_real, η_imag, γ_imag) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters