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

Rename function to Empirical Average #19

Open
sebgrijalva opened this issue Dec 13, 2022 · 0 comments
Open

Rename function to Empirical Average #19

sebgrijalva opened this issue Dec 13, 2022 · 0 comments

Comments

@sebgrijalva
Copy link
Contributor

function compute_expectation_value(meas::Vector{T}, observable::KronBlock) where {T<:DitStr}

For future use, this function seems to be calculating the empirical average given a series of measurements and a Pauli observable. We can generalize the use of these empirical averages and I believe it is clearer to rename compute_expectation_value() to this since it gives the impression that it calculates the true mean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant