Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.8K Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

Change to PauliY basis seems to produce incorrect amplitudes

Posted 2 years ago

Attached please find a simple example of changing the basis for the Plus and Minus states to the PauliY basis. It seems to me that the result is wrong. That is, the amplitudes of these states in the PauliY basis do not recover the Plus and Minus states. Of course I could be wrong, but I made other similar examples which produced results I could agree with. Can you let me know if there is an issue here or I am misunderstanding something? Thanks..

Attachments:
POSTED BY: Michael Ulrey
2 Replies

Hi Michael, this is similar to what we discussed in another post. When using QuantumState[arg1,arg2], if arg1 is already a quantum state object, the code means transform it into a new basis which is arg2 So if you want to transform plus and minus states into Pauli-Y basis, you should do this:

QuantumState[QuantumState["Plus"], "PauliY"]

which is not the same as QuantumState["Plus", "PauliY"]

POSTED BY: Mohammad Bahrami

Mads, Thanks again -- I had left the incorrect call to QuantumState in the code that created the BIG state/basis table I sent to you, thus leading me down a difficult path of misunderstanding, trying to match the results with what I had expected. At least it was very instructive to work through a lot of examples, so that when I corrected the bit of code you pointed out, I had a MUCH better understanding of all that was going on. So in the end, it was a good thing.

POSTED BY: Michael Ulrey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard