Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gibbs state #131

Merged
merged 19 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ tests/data/temp/
tests/data/performance_results/
tests/data/plots/
*.hdf5
*.pkl
*.pdf

# local development
local_dev/
Expand Down
4 changes: 3 additions & 1 deletion examples/system-correlations.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import numpy as np
import matplotlib.pyplot as plt
from IPython import embed
#from IPython import embed

import oqupy
import oqupy.operators as op
Expand All @@ -33,6 +33,8 @@ def gaussian_shape(t, area = 1.0, tau = 1.0, t_0 = 0.0):
cutoff=omega_cutoff,
cutoff_type='gaussian',
temperature=temperature)
print('type=',type(correlations))
print(issubclass(type(correlations), oqupy.correlations.BaseCorrelations))
bath = oqupy.Bath(op.sigma("z")/2.0, correlations)


Expand Down
6 changes: 6 additions & 0 deletions oqupy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
'Control',
'Dynamics',
'FileProcessTensor',
'GibbsParameters',
'GibbsTempo',
'gibbs_tempo_compute',
'guess_tempo_parameters',
'helpers',
'import_process_tensor',
Expand Down Expand Up @@ -111,6 +114,9 @@

from oqupy.tempo import Tempo
from oqupy.tempo import TempoParameters
from oqupy.tempo import GibbsTempo
from oqupy.tempo import GibbsParameters
from oqupy.tempo import MeanFieldTempo
from oqupy.tempo import guess_tempo_parameters
from oqupy.tempo import tempo_compute
from oqupy.tempo import gibbs_tempo_compute
Loading