Repository navigation
Replies: 10 comments
|
Hi, thanks for the nice post. In the example of the Hadamard test, the output expression of the CU applied on 2 qubits does not look correct. |
|
Which part are you talking about exactly? Is it The Hadamard test solves: Given a Unitary .... part? What's not correct about it? |
|
Hi, thanks for the reply. When CU applied on (|0>+|1>) x |1>, isn't the o/p be |0>|1> + |1>(U|1>) = |0>|1> + |1>|0>? I didn't carry the 1/sqrt(2) factor here. |
You have |
|
I thought only the second qubit is modified if 1st qubit is 1 when two qubits are applied in the CU gate. Please see wiki here: https://en.wikipedia.org/wiki/Quantum_logic_gate#Controlled_(cX_cY_cZ)_gates
Sincerely,
Asaduzzaman
…________________________________
From: Victory Omole <notifications@github.com>
Sent: Friday, July 31, 2020 12:40 PM
To: vtomole/vtomole.github.io <vtomole.github.io@noreply.github.com>
Cc: Muhammad Asaduzzaman <masaduzz@syr.edu>; Comment <comment@noreply.github.com>
Subject: Re: [vtomole/vtomole.github.io] Quantum Phase Estimation and Hadamard test discussion (#14)
|0>|1> + |1>(U|1>) = |0>|1> + |1>|0>
You have U on the left side but not the right. Where did it go?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#14 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKYMIRNWH63UBMTWG2AOCI3R6LXZLANCNFSM4HSJPYBQ>.
|
|
You wrote
What is |
|
I was talking about the hadamard test example in your post, U there is (0, 1; 1, 0)
…________________________________
From: Victory Omole <notifications@github.com>
Sent: Friday, July 31, 2020 2:25 PM
To: vtomole/vtomole.github.io <vtomole.github.io@noreply.github.com>
Cc: Muhammad Asaduzzaman <masaduzz@syr.edu>; Comment <comment@noreply.github.com>
Subject: Re: [vtomole/vtomole.github.io] Quantum Phase Estimation and Hadamard test discussion (#14)
You wrote
|0>|1> + |1>(U|1>) = |0>|1> + |1>|0>
What is U here? Is it an arbitrary unitary or did you make it the X gate?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#14 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKYMIRKVRJWKZF6RWFG4KA3R6MD73ANCNFSM4HSJPYBQ>.
|
|
Ah okay. I see my mistake. Thanks for pointing this out. I'll post a fix soon. |
|
great then, thank you.
…________________________________
From: Victory Omole <notifications@github.com>
Sent: Friday, July 31, 2020 9:42 PM
To: vtomole/vtomole.github.io <vtomole.github.io@noreply.github.com>
Cc: Muhammad Asaduzzaman <masaduzz@syr.edu>; Comment <comment@noreply.github.com>
Subject: Re: [vtomole/vtomole.github.io] Quantum Phase Estimation and Hadamard test discussion (#14)
Ah okay. I see my mistake. Thanks for pointing this out. I'll post a fix soon.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#14 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKYMIRNQYNIOUAUMC4SLKJ3R6NXKBANCNFSM4HSJPYBQ>.
|
|
@masaduzz1 Hey, i made the fixes. Can you check to make sure that it makes sense now? Also, i would like to send you $5 as a thank you for finding this. How should i go about this? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Post: https://vtomole.github.io/blog/2018/05/20/pea
All reactions