Skip to content

Commit

Permalink
fix ordering of alpha and beta spins in example notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Sep 12, 2024
1 parent 64c0acf commit 4207ce8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/01_chemistry_hamiltonian.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -401,17 +401,17 @@
" 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",
" # Throw out configurations with incorrect particle number in either the spin-up or spin-down systems\n",
" 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",
Expand Down

0 comments on commit 4207ce8

Please sign in to comment.