Skip to content

Conversation

@nkanazawa1989
Copy link
Collaborator

Summary

close #650

Details and comments

New function in real-valued form is amp * kappa / np.sqrt(kappa**2 + 4 * (x - x0) ** 2) + baseline which passed my local tests.

@nkanazawa1989 nkanazawa1989 requested a review from eggerdj February 7, 2022 16:51
Copy link
Contributor

@eggerdj eggerdj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gives the same result for kappa > 0 but deviates for kappa < 0 (which is typically un-physical anyways). Should we maintain the absolute value? This would make sense since physically we are looking for a function which is the fourier transform of a right-sided decaying exponential (https://www.thefouriertransform.com/pairs/decayingexponential.php). I.e. we excite the qubit or resonator with a pulse and then the energy decays.

Copy link
Contributor

@eggerdj eggerdj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nkanazawa1989 nkanazawa1989 merged commit 4553f50 into qiskit-community:main Feb 7, 2022
@nkanazawa1989 nkanazawa1989 deleted the upgrade/update_sqrt_lorentzian branch February 7, 2022 21:27
paco-ri pushed a commit to paco-ri/qiskit-experiments that referenced this pull request Jul 11, 2022
Update sqrt_lorentzian to be real-valued form.
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.

sqrt_lorentzian in real-valued form

2 participants