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

bloch_redfield_tensor support different spectra types #1951

Merged
merged 6 commits into from Jul 21, 2022

Conversation

christian512
Copy link
Contributor

@christian512 christian512 commented Jul 8, 2022

Description
The function bloch_redfield_tensor required the spectra given in a_ops to be qutip.Coefficient. For compatability with brmesolve I added support for strings and callables in bloch_redfield_tensor.

@coveralls
Copy link

coveralls commented Jul 8, 2022

Coverage Status

Coverage increased (+0.006%) to 70.904% when pulling 07058e6 on christian512:brtensor_coeff into acaba9b on qutip:dev.major.

qutip/core/blochredfield.py Outdated Show resolved Hide resolved
qutip/core/blochredfield.py Outdated Show resolved Hide resolved
christian512 and others added 2 commits July 11, 2022 14:42
Co-authored-by: Eric Giguère <eric.giguere@calculquebec.ca>
Co-authored-by: Eric Giguère <eric.giguere@calculquebec.ca>
@Ericgig Ericgig merged commit 795c729 into qutip:dev.major Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants