Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

hbar units in hamiltonian and master equation. #2332

Unanswered
sofomryu asked this question in Q&A
Discussion options

I'm confused when to use hbar or not in qutip.

I'm using qutip to simulate lindblad form of master equation. Let's say I have two level system which decay with gamma.
The hamiltonian and master equation is given as following. and w0 is frequency difference between ground state and excited states.

H= hbar*w0*sigma^dag*sigma
dp/dt = -i/hbar * [H,p] + gamma*(2*sigma*p*sigma^dag-sigma^dag*sigma*p-p*sigma^dag*sigma) 

To implement this in qutip, I have to set hamiltonian(H) and lindblad term to calculate steady state density states.

H=hbar*w0*sigma^dag*sigma
Decay = gamma*lindblad_dissipator(sigma,sigma)
p_ss=steadystates(H,Decay)

Here, is it right to set gamma as 'Hz' unit? It should be 'Hz' principly, However, in qutip tutorials, they seem to set gamma also as energy scale, which hbar*gamma should be instead of gamma.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.