-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add support for arbitrary observables #6
Comments
By linearity of the expectation value this means arbitrary observables can be computed, as long as they are expressed as sums of Majorana-strings. But if the observables are given in above form the computation is much more efficient, so the question will be how to best decompose an arbitrary observable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently only observables that are squares of Majoranas are supported in$⟨ψ|O|ψ⟩$ for arbitrary operators $O$ of the form $O = ∏_i L_i = ∏_i (∑_j O_{ij} γ_j)$ by calculating the pfaffian of the two-point matrix $M_{ij} = ⟨ψ|L_i L_j|ψ⟩$ .
expect()
. But generally, it is possible to calculateThe text was updated successfully, but these errors were encountered: