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

Make spin_op.distribute_terms batch more efficiently #1437

Merged
merged 5 commits into from
Mar 25, 2024

Commits on Mar 24, 2024

  1. Configuration menu
    Copy the full SHA
    52c55ae View commit details
    Browse the repository at this point in the history
  2. Fix tests and write a new test to show a new problem

    The new test_spin_op_random() test shows that sometimes
    cudaq.SpinOperator.random() isn't generating enough terms in the return
    value. This was traced down to duplicates being created, but since the
    final spin op stores everything in an unordered_map, the duplicates were
    being silently eliminated.
    bmhowe23 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    25f60de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ceba46 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d296be7 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. Configuration menu
    Copy the full SHA
    c3ec805 View commit details
    Browse the repository at this point in the history