Skip to content

Quantum Phase Estimation and Hadamard test discussion #14

Closed

Activity

  1. masaduzz1 commented on Jul 30, 2020

    @masaduzz1

    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.

  2. vtomole commented on Jul 30, 2020

    @vtomole
    OwnerAuthor

    Which part are you talking about exactly? Is it

    The Hadamard test solves: Given a Unitary ....

    part? What's not correct about it?

  3. masaduzz1 commented on Jul 30, 2020

    @masaduzz1

    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.

  4. vtomole commented on Jul 31, 2020

    @vtomole
    OwnerAuthor

    |0>|1> + |1>(U|1>) = |0>|1> + |1>|0>

    You have U on the left side but not the right. Where did it go?

  5. masaduzz1 commented on Jul 31, 2020

    @masaduzz1
  6. vtomole commented on Jul 31, 2020

    @vtomole
    OwnerAuthor

    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?

  7. masaduzz1 commented on Jul 31, 2020

    @masaduzz1
  8. vtomole commented on Aug 1, 2020

    @vtomole
    OwnerAuthor

    Ah okay. I see my mistake. Thanks for pointing this out. I'll post a fix soon.

  9. masaduzz1 commented on Aug 1, 2020

    @masaduzz1
  10. vtomole commented on Aug 6, 2020

    @vtomole
    OwnerAuthor

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

  11. Repository owner locked and limited conversation to collaborators on Jun 27, 2023
  12. converted this issue into a discussion #49 on Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions