Comments (9)
@christopherkang @cgranade @geduardo Thanks for identifying this inconsistency.
This issue is caused by a difference in convention between Q#'s representation of the |0> state and the |0> state in some areas of physics.
Q# represents |0> as the +1 eigenstate of the Z operator.
In some areas of physics, |0> is the low-energy ground state, thus the -1 eigenstate of the Z operator.
The correct version is in @christopherkang 's image:
To see why, the following are assertions that the fermionic creation operator must satisfy.
- In the chemistry library, we use |0> to represent an unoccupied spin-orbital, and |1> to represent an occupied spin-orbitals.
- Thus a raising operator should be a^\dagger = |1><0|.
The following is the Q# convention for what a |0> state is.
3) Q# represents the |0> state as the +1 eigenstate of the Z operator (in Q#, this is the value of Zero of the Result type). Thus the Z operator = |0><0| - |1><1|
4) The Z operator in matrix form is written as 1st row: (1,0); 2nd row: (0,-1). Thus |0> as a column vector is 1st row:(1); 2nd row:(0).
5) Thus a^\dagger = |1><0| is as shown in Chris' image.
from quantum-docs-pr.
#513 is still broken - switching the matrix forms was incorrect. Here are the final formulas
from quantum-docs-pr.
Thanks for pointing this out! It looks like somehow 𝑎ⱼ⁺ and 𝑎ⱼ got swapped with each other (ironically). The spacing issue seems to be because \\\
was used instead of \\\\
as is required for MathJax to see a \\
through the Markdown processor.
from quantum-docs-pr.
Closing, as this has been addressed with #513. Please feel free to reopen if needed, or to file another issue with follow-ups. Thanks for the report!
from quantum-docs-pr.
from quantum-docs-pr.
That's very odd, it looked right in the preview, will investigate. Thanks for the heads-up!
from quantum-docs-pr.
Ok, this is a bit weird. Most references I found use the current form (1. http://home.uchicago.edu/dtson/phys411/Jordan-Wigner.pdf, 2. https://www.lptmc.jussieu.fr/user/messio/ICFP_documents/TD_Jordan_Wigner_enonce.pdf and 3. https://en.wikipedia.org/wiki/Jordan–Wigner_transformation). However, going to the original paper (4. http://www.fisicafundamental.net/relicario/doc/JordanWigner-1928.pdf) they use a different representation of Pauli matrices, but doing the explicit calculation gives the matrices provided by @christopherkang, which are the ones that make sense for them to be creation and annihilation operators (assuming we are using the cartesian basis |0>=(1,0)^T and |1>=(0,1)^T).
I think the discrepancy has to do with the chosen cartesian basis for up and down, but not completely sure.
from quantum-docs-pr.
@geduardo I think you're right! Let's look at the matrix form of the z spin operator they define:
Now, we can analyze it's behavior by putting in spin up / spin down kets and comparing it to the expected result.
If we put in spin up, we should get half spin up back. If we put in spin down, we should get negative half spin down:
So, we are looking for two eigenvectors with eigenvalues of 1 and 0, meaning that spin up is the 0 ket, and spin down is the 1 ket. (I guess because 0 is 'above' the 1?)
from quantum-docs-pr.
@christopherkang @cgranade @guanghaolow
Great! That's what I was thinking. Thanks for the clarification! I'll try to fix it asap.
from quantum-docs-pr.
Related Issues (20)
- Wrong Q# sequence in MeasureY HOT 2
- Troubles with using Length(Qubit[]) function in Jupyter Notebook HOT 2
- [Broken link] the quickstart-guide link needs to be fixed HOT 1
- No documentation available for "within/apply" statements. HOT 3
- There is no way to download the documents HOT 1
- Empty Tuple Code Sample in Entanglement Tutorial HOT 3
- Lenny-QC HOT 1
- `import qsharp` fails or takes too long time HOT 2
- Add a link to the Q# language design repo HOT 1
- Code sample for LocalRotationsLayer? HOT 2
- Add qsharp-language to repo list HOT 1
- Instructions for creating a new Q# project in VS Code are not clear HOT 1
- Z gate error HOT 4
- typo in PE without eigenstates HOT 4
- VS Code and VS Studio Icons/Titles are mixed up. HOT 1
- "This Page" feedback button directs to wrong repo HOT 7
- Examples from Q# Libraries API don't show up in docs HOT 2
- LaTeX formulas won't render in the PDF version HOT 1
- Link HOT 1
- IQ# magic commands don't have a list page HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quantum-docs-pr.