You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Quantum Phase Estimation and Hadamard test discussion #14
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.
________________________________
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>.
________________________________
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>.
________________________________
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?
Repository owner locked and limited conversation to collaborators on Jun 27, 2023
Activity
masaduzz1 commentedon Jul 30, 2020
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.
vtomole commentedon Jul 30, 2020
Which part are you talking about exactly? Is it
The Hadamard test solves: Given a Unitary ....
part? What's not correct about it?
masaduzz1 commentedon Jul 30, 2020
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.
vtomole commentedon Jul 31, 2020
You have
Uon the left side but not the right. Where did it go?masaduzz1 commentedon Jul 31, 2020
vtomole commentedon Jul 31, 2020
You wrote
What is
Uhere? Is it an arbitrary unitary or did you make it the X gate?masaduzz1 commentedon Jul 31, 2020
vtomole commentedon Aug 1, 2020
Ah okay. I see my mistake. Thanks for pointing this out. I'll post a fix soon.
masaduzz1 commentedon Aug 1, 2020
vtomole commentedon Aug 6, 2020
@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?