Support frame transformation and dressed states#94
Support frame transformation and dressed states#94BoxiLi wants to merge 2 commits intoqutip:masterfrom
Conversation
BoxiLi
commented
Sep 19, 2021
- Allow a transformation matrix to be given, which will be applied to the Hamiltonian and collapse operators when generating QobjEvo for qutip solvers.
- Provide an option so that the dressed states w.r.t. the drift Hamiltonian will be calculated and applied as a transformation matrix.
- Allow a transformation matrix to be given, which will be applied to the Hamiltonian and collapse operators when generating QobjEvo for qutip solvers. - Provide an option so that the dressed states w.r.t. the drift Hamiltonian will be calculated and applied as a transformation matrix.
|
The failing test seems to be a Coveralls connection issue. Retry later. |
hodgestar
left a comment
There was a problem hiding this comment.
This looks like a cool new feature. I think we can simplify the complexity of it greatly though by:
- getting rid of
self.use_dressed_states,self._transform,get_transformandset_transform - keep
compute_dressed_states - add
transform=Noneoption toget_noisy_pulse
So that now one can do:
dressed_states = processor.compute_dressed_states()
pulses = processor.get_noisy_pulses(transform=dressed_states)The Processor class now doesn't have to manage any new state, it's simpler and clearer to the user of the class what is happening, and the user has more control (e.g. they could pass in their own transform if they wanted).
Thoughts?
|
That will indeed save us from the The goal is to provide
In my mind, the use cases of the dressed states are mostly in the resonator-qubit model. One provides a drift Hamiltonian where the qubit and resonator are weakly coupled. If one wants to use the dressed states, one only needs to set Seems to me that a simple switch |