-
Notifications
You must be signed in to change notification settings - Fork 36
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
Commutators and Bra-Ket Notation in Quantum Mechanics #328
Comments
The Bra-Ket notation is a challenge to recognize and verbalize well. I would like to improve MathCAT's handling. For the nested notation, that doesn't make any sense for intervals, so I should change the rule to prevent that being spoken as an interval (see #329). Vertical bars are heavily used in math and have many different meanings. MathCAT tries to clean up ways that MathML generate them so it can interpret them. It's tricky. For example, in I never reached the level of physics courses where we used the bra-ket notation, so I don't have a good grasp of what makes sense for operands. If I had a betters sense of what is legal, I could refine how MathCAT parses/cleans up the MathML so that it (for example) pairs @NV-Codes: if you are familiar with this notation, please write down as much information as possible about what operands of the notation typically look like so I can try to make MathCAT recognize them. Looking at the wikipedia page for the notation, the operands are almost always letters or modified letters, but not always. The same is true with your examples. Unfortunately, the MathML for them is rarely grouped well, and grouping them is needed for MathCAT to generate appropriate speech.
It is unambiguous, but not necessarily appropriate (as with the interval example you mention). Once I implement "LiteralSpeak", then the inappropriate interpretation would go away, but also all the good interpretations. That may or may not be a good tradeoff. |
Both bras and kets can take various forms:
Please let me know if this helps. |
I had previously been deterred from trying SimpleSpeak because of my misunderstanding that it is "never unambiguous" (an odd literal interpretation), and I had also maximized MathCAT's verbosity as a precaution to avoid misunderstanding, but I now find that I appreciate certain features of SimpleSpeak (e.g., less verbose descriptions of fractions than ClearSpeak at all verbosity levels). I will continue to experiment with different speech styles and verbosities, but I think it might be helpful to
In general, are all possible combinations comparably unambiguous? Could "Terse" or "Medium" verbosity make an expression more ambiguous than "Verbose"? I appreciate the clarification! |
All physics texts that I have seen use the LaTeX angle bracket commands In addition to the examples @NV-Codes gave, I have also seen bra-ket notation with the following contents:
As far as pronunciation goes, there are effectively three types of object in bra-ket notation: the "bra" |
MathCAT Version
MathCAT-0.6.6 (NVDA Add-On)
Description of Issue
Commutators
MathCAT treats$[A, B]$ as "the interval from cap A to cap B, including cap A and cap B." For nested commutators, however, it becomes particularly hard to parse. For the commutator of A with the commutator of B with C ($[A, [B, C]]$ ), MathCAT reads, "the interval from cap A to the interval from cap B to cap C, including cap B and cap C, including cap A and the interval from cap B to cap C, including cap B and cap C."
$[A, B]$
and other expressions of that form as intervals, but such expressions represent commutators in quantum mechanics. For instance, MathCAT readsBra-Ket Notation
For bra-ket notation, MathCAT reasonably verbalizes the ket of alpha ($| \alpha \rangle$ ) as "vertical line alpha right angle bracket" and the bra of alpha ($\langle \alpha |$ ) as "left angle bracket alpha vertical line." For expectation values, howeover, MathCAT verbalizes $\langle \alpha | \hat{P} | \alpha \rangle$ as "left angle bracket, alpha, the absolute value of cap P hat, end absolute value, alpha, right angle bracket." Likewise, the inner product of the bra of alpha and the ket of beta ($\langle \alpha | \beta \rangle$ ) is verbalized as "left angle bracket, alpha divides beta, right angle bracket." (In those expressions where the vertical bar is verbalized as "divides," the symbol is treated as a symbol of relation and is surrounded by spaces in Nemeth.) In some equations that relate expressions of kets, the inferred "absolute value" extends across the equals sign, from one vertical bar to the next, and this is particularly confusing to parse.
Potential Resolution
Perhaps it is best not to infer that bracketed expressions of the form
$[A, B]$
are instances of interval notation. It is not clear, without intent markup by the author, how MathCAT would be able to correctly verbalize bra-ket notation.In either case, it seems that literal verbalization (issue #135) would be a good feature to offer, since it would leave interpretation to the user (as is the case for visual and braille interpretation).
The MathCAT User Guide states, "Expressions are never unambiguous in SimpleSpeak." It would seem that ClearSpeak is thus recommended for mathematicians, physicists, etc., but the inferences made by ClearSpeak can make interpreting certain types of expressions harder than interpreting literal verbalization of symbols.
The text was updated successfully, but these errors were encountered: