Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-johnson committed Sep 9, 2024
1 parent 8eba608 commit 0212c5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down
7 changes: 4 additions & 3 deletions qiskit_addon_sqd/fermion.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,10 @@ def bitstring_matrix_to_sorted_addresses(
"""
Convert a bitstring matrix into base-10 address representation.
This function separates each bitstring in ``bitstring_matrix`` in half, translates
each set of bits into integer representations, and appends them to their respective
lists. Those lists are sorted and output from this function.
This function separates each row in the ``bitstring_matrix`` in half column-wise.
The left- (alpha) and right-hand (beta) columns of bits are translated into
unsigned, base-10 integers, which are referred to as determinant addresses. This function
returns an array of sorted, unique addresses for both the spin-up and spin-down systems.
Args:
bitstring_matrix: A 2D array of ``bool`` representations of bit
Expand Down

0 comments on commit 0212c5f

Please sign in to comment.