mirror of
https://github.com/vale981/two_qubit_model
synced 2025-03-05 09:41:41 -05:00
add a phenomentological bcf coupling strength estimator
This commit is contained in:
parent
d2e688175f
commit
d1fae818eb
1 changed files with 13 additions and 0 deletions
|
@ -280,6 +280,19 @@ class TwoQubitModel:
|
|||
|
||||
return float(self.δ[i]) ** 2
|
||||
|
||||
def η(self, i: int):
|
||||
"""The BCF pre-factor :math:`η` of the ``i``th bath."""
|
||||
ω_c = float(self.ω_c[i])
|
||||
s = float(self.s[i])
|
||||
T = float(self.T[i])
|
||||
|
||||
return (
|
||||
1
|
||||
/ (ω_c * s) ** s
|
||||
* np.exp(s)
|
||||
* (max([1, np.exp(ω_c * s * 1 / T) - 1]) if T > 0 else 1)
|
||||
)
|
||||
|
||||
def bcf(self, i: int) -> hops.util.bcf.OhmicBCF_zeroTemp:
|
||||
"""
|
||||
The normalized zero temperature BCF of the ``i``th bath.
|
||||
|
|
Loading…
Add table
Reference in a new issue