question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Testing phase estimation

See original GitHub issue

We are doing some sanity checks to see how phase estimation works and we cannot reconcile it with our expectations: the value of the estimation just does not match the correct value. Here’s a minimal working example.

Furthermore, if you change the phase to pi/8, the phase estimation fails all together, dropping ValueError: The wavefunction is not normalized.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
willzengcommented, Apr 30, 2018

The representation is as a binary fraction listed from the right. This means that 0001 represents 1/2 0010 represents 1/4 0011 represents 1/4 + 1/2 = 3/4 1000 represents 1/16

Each index to the left is 1/2^i

Does that makes sense @peterwittek ?

1reaction
willzengcommented, Apr 25, 2018

Thanks @kmckiern ! This appears to be fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Software Test Estimation Techniques - Guru99
Test Estimation is a management activity which approximates how long a Task would take to complete. Estimating effort for the test is one...
Read more >
Software Test Estimation Techniques (Test Effort Estimation ...
Some of the most important techniques for test estimation are: Test point estimation; Work-phase based estimation; Use case point estimation.
Read more >
Estimation Techniques - Testing - Tutorialspoint
Estimation Techniques - Testing ; Review phase, 50% ; Experience-based Testing Estimation Technique. This technique is based on analogies and experts. The ...
Read more >
Estimation Techniques in Software Testing [With Examples]
Software testing estimation is a management activity to calculate and approximate time, resources and expenses needed to complete test execution in a ...
Read more >
7 Software Test Estimation Techniques | BrowserStack
In this method, once all the different stages of the testing cycle are determined, every stage is assigned or assessed in terms of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found