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

Update #289

merged 1 commit into from Oct 5, 2018
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings


Just for now

@@ -66,7 +66,7 @@ For instance, if we model a term in a Hamiltonian by a tuple, then we can use de
// Represents H = 3.1 X_0 Z_1.
let (coefficient, (paulis, idxQubits)) = (3.1, ([PauliX; PauliZ], [0, 1]));
let (coefficient, (paulis, idxQubits)) = (3.1, ([PauliX; PauliZ], [0; 1]));
We can also use deconstruction to access the different parts of a [user-defined type](#user-defined-types):
ProTip! Use n and p to navigate between commits in a pull request.