4
$\begingroup$

I want to search for posts with quantum states $| i \rangle$. Is there any way to search for latex expressions. Is there any way to include puntuation in searches.

I know google ignores puncuation, but for scientific content, these features are important.

$\endgroup$
  • 1
    $\begingroup$ Note that some people write such a state $|i>$, some use $|i\rangle$, some use $\left|i\right>$, and occasionally some vandal will use $\newcommand\ket[1]{\left|{#1}\right>} \ket i$. $\endgroup$ – rob Jan 11 at 22:12
  • $\begingroup$ So is there a way to seach for the code, and is the a way to search for the result, and related results? $\endgroup$ – psitae Jan 11 at 22:17
  • $\begingroup$ That I don't know. A site search for |i\rangle on the main site brings plenty of questions with states in them, but not limited to states labeled $i$. Adding quotes to the search term doesn't appear to remove search results with stuff between the i and the \rangle. Hopefully someone who is a heavier search user than I am will answer. $\endgroup$ – rob Jan 11 at 22:21
  • $\begingroup$ FYI: A Math SE user had developed Approach0 for these type of advanced searches involving MathJax. As of now works it only for Math SE and is still under development. But hopefully, it can be extended to include other SE sites as well, in the future. $\endgroup$ – Blue Jan 12 at 8:17
2
$\begingroup$

The in-built SE search is not sufficient for this.

@rob: A site search for |i\rangle on the main site brings plenty of questions with states in them, but not limited to states labeled i. Adding quotes to the search term doesn't appear to remove search results with stuff between the i and the \rangle.

Indeed, that's what I observed too. However, for the time being you can use this SE Data Explorer query to search for exact strings like $|i>$, $|i\rangle$, $\left|i\right>$ and $\newcommand\ket[1]{\left|{#1}\right>} \ket i$.

select top 100
    Id as [Post Link]
from
    Posts
where
    Body like '%<enter-specific-string-here>%'

In case you're interested, here's a quick tutorial for the Data Explorer.

By the way, I think you're asking this question because of: Notational conventions of the Bloch sphere. Remember that most sources using $|i\rangle$ to label quantum states rather than using it to denote $|0\rangle + i|1\rangle$. I'm afraid the search results won't be too useful for you unless you manage to be lucky.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .