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

Clarified nr of bound states vs max quantum nr in PoschlTeller #63

Closed
wants to merge 0 commits into from

Conversation

lhapp27
Copy link
Collaborator

@lhapp27 lhapp27 commented Jun 7, 2024

I clarified the difference between the number of bound states and the maximum quantum number in the documentation for the Pöschl-Teller model. The same issue should exist for models in which we count n from 0, and which have a finite number of bound states, i.e. the Morse potential.

@lhapp27
Copy link
Collaborator Author

lhapp27 commented Jun 7, 2024

I'm sorry for not updating the fork before merging, hence leading to "conflicts".

Copy link
Owner

@ohno ohno left a comment

Choose a reason for hiding this comment

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

Thank you for your efforts. Please check comments.

```@docs; canonical=false
Antique.nₘₐₓ(::PoschlTeller)
```
Note that the number of bound states is `nₘₐₓ + 1`, since we count the ground state from `n=0`.
Copy link
Owner

Choose a reason for hiding this comment

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

Please write this line into the docstring.


```@repl PT
nₘₐₓ(PT)
```
Note that the number of bound states is `nₘₐₓ + 1`, since we count the ground state from `n=0`.
Copy link
Owner

Choose a reason for hiding this comment

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

Here too.

Copy link
Owner

@ohno ohno Jun 8, 2024

Choose a reason for hiding this comment

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

I would like to discard the commit to this file. We don't need change this file if 0 <= n <= n_max has been correct. Please pull latest version and update the docstrings. No conflicts will occur.

@ohno ohno mentioned this pull request Jun 9, 2024
@ohno
Copy link
Owner

ohno commented Jun 9, 2024

Please see 2 pages:

The changes are as follows:

  • I updated changed "Number of Bound States" to "Maximum Quantum Number" (68db3f5).
  • I added tests for nr of bound states vs max quantum nr in PoschlTeller and MorsePotential (b331273). $0 &lt; E_{n+1} - E_n$ must be satisfied for $0 \leq n \leq n_\mathrm{max}$.

I tthink all you have to do is change the docstrings.

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.

2 participants