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. |
Beta Was this translation helpful? Give feedback.
-
Which part are you talking about exactly? Is it The Hadamard test solves: Given a Unitary .... part? What's not correct about it? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
You have |
Beta Was this translation helpful? Give feedback.
-
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 <[email protected]>
Sent: Friday, July 31, 2020 12:40 PM
To: vtomole/vtomole.github.io <[email protected]>
Cc: Muhammad Asaduzzaman <[email protected]>; Comment <[email protected]>
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>.
|
Beta Was this translation helpful? Give feedback.
-
You wrote
What is |
Beta Was this translation helpful? Give feedback.
-
I was talking about the hadamard test example in your post, U there is (0, 1; 1, 0)
…________________________________
From: Victory Omole <[email protected]>
Sent: Friday, July 31, 2020 2:25 PM
To: vtomole/vtomole.github.io <[email protected]>
Cc: Muhammad Asaduzzaman <[email protected]>; Comment <[email protected]>
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>.
|
Beta Was this translation helpful? Give feedback.
-
Ah okay. I see my mistake. Thanks for pointing this out. I'll post a fix soon. |
Beta Was this translation helpful? Give feedback.
-
great then, thank you.
…________________________________
From: Victory Omole <[email protected]>
Sent: Friday, July 31, 2020 9:42 PM
To: vtomole/vtomole.github.io <[email protected]>
Cc: Muhammad Asaduzzaman <[email protected]>; Comment <[email protected]>
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>.
|
Beta Was this translation helpful? Give feedback.
-
@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? |
Beta Was this translation helpful? Give feedback.
-
Post: https://vtomole.github.io/blog/2018/05/20/pea
Beta Was this translation helpful? Give feedback.
All reactions