From 4207ce8197cb55df9422abda49420e10ba26b516 Mon Sep 17 00:00:00 2001 From: "Kevin J. Sung" Date: Wed, 11 Sep 2024 21:12:34 -0500 Subject: [PATCH] fix ordering of alpha and beta spins in example notebook --- docs/tutorials/01_chemistry_hamiltonian.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/01_chemistry_hamiltonian.ipynb b/docs/tutorials/01_chemistry_hamiltonian.ipynb index 3db838b..237a644 100644 --- a/docs/tutorials/01_chemistry_hamiltonian.ipynb +++ b/docs/tutorials/01_chemistry_hamiltonian.ipynb @@ -401,8 +401,8 @@ " bitstring_matrix_full,\n", " probs_arr_full,\n", " occupancies_bitwise,\n", - " num_elec_a,\n", " num_elec_b,\n", + " num_elec_a,\n", " rand_seed=rand_seed,\n", " )\n", "\n", @@ -410,8 +410,8 @@ " batches = postselect_and_subsample(\n", " bs_mat_tmp,\n", " probs_arr_tmp,\n", - " num_elec_a,\n", " num_elec_b,\n", + " num_elec_a,\n", " samples_per_batch,\n", " n_batches,\n", " rand_seed=rand_seed,\n",