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

Fix MeasureMulti*PauliSum #288

Merged

Commits on Jul 11, 2024

  1. Update README.md

    Hanrui-Wang authored Jul 11, 2024
    Configuration menu
    Copy the full SHA
    611cc2a View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Fix MeasureMulti*PauliSum

    self.measure_multiple_times returns a [len(obs_list), num_wires] tensor, you have to take the product over the wires first to get the measurement of the Pauli string and then sum over the obs_list (multiplied by coefficients in the case of MeasureMultiQubitPaulisum.
    yannick-couzinie authored Nov 12, 2024
    Configuration menu
    Copy the full SHA
    a69808e View commit details
    Browse the repository at this point in the history
  2. Use numpy<2

    yannick-couzinie authored Nov 12, 2024
    Configuration menu
    Copy the full SHA
    46aa4e0 View commit details
    Browse the repository at this point in the history