Git Product home page Git Product logo

Comments (9)

guanghaolow avatar guanghaolow commented on July 29, 2024 2

@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:

image

To see why, the following are assertions that the fermionic creation operator must satisfy.

  1. In the chemistry library, we use |0> to represent an unoccupied spin-orbital, and |1> to represent an occupied spin-orbitals.
  2. 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.

christopherkang avatar christopherkang commented on July 29, 2024 1

#513 is still broken - switching the matrix forms was incorrect. Here are the final formulas

image

from quantum-docs-pr.

cgranade avatar cgranade commented on July 29, 2024

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.

cgranade avatar cgranade commented on July 29, 2024

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.

christopherkang avatar christopherkang commented on July 29, 2024

Current:
image

from quantum-docs-pr.

cgranade avatar cgranade commented on July 29, 2024

That's very odd, it looked right in the preview, will investigate. Thanks for the heads-up!

from quantum-docs-pr.

geduardo avatar geduardo commented on July 29, 2024

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.

christopherkang avatar christopherkang commented on July 29, 2024

@geduardo I think you're right! Let's look at the matrix form of the z spin operator they define:

image

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:

image

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.

geduardo avatar geduardo commented on July 29, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.