Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test the right order finder #3166

Merged
merged 2 commits into from
Jul 22, 2020

Conversation

viathor
Copy link
Collaborator

@viathor viathor commented Jul 22, 2020

Just noticed that test_example_shor_find_factor_with_composite_n_and_quantum_order_finder actually tests the naive order finder instead of testing the quantum order finder.

Note that the naive order finder is already tested by test_example_shor_find_factor_with_composite_n_and_naive_order_finder. Looks like a copy-paste error.

@googlebot googlebot added the cla: yes Makes googlebot stop complaining. label Jul 22, 2020
@viathor viathor added the automerge Tells CirqBot to sync and merge this PR. (If it's running.) label Jul 22, 2020
@CirqBot CirqBot added the front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. label Jul 22, 2020
@CirqBot CirqBot merged commit 6f24531 into quantumlib:master Jul 22, 2020
@CirqBot CirqBot removed automerge Tells CirqBot to sync and merge this PR. (If it's running.) front_of_queue_automerge CirqBot uses this label to indicate (and remember) what's being merged next. labels Jul 22, 2020
@viathor viathor deleted the test-correct-order-finder branch July 22, 2020 21:40
tonybruguier pushed a commit to tonybruguier/Cirq that referenced this pull request Aug 23, 2020
Just noticed that `test_example_shor_find_factor_with_composite_n_and_quantum_order_finder` actually tests the naive order finder instead of testing the quantum order finder.

Note that the naive order finder is already tested by `test_example_shor_find_factor_with_composite_n_and_naive_order_finder`. Looks like a copy-paste error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Makes googlebot stop complaining.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants