ffsim.BitstringType

class ffsim.BitstringType(*values)[source]

Bases: Enum

Enumeration for indicating the data type of bitstrings.

String:

[“0101”, “0110”]

Integer:

[5, 6]

Bit array:
[[False, True, False, True],

[False, True, True, False]]

Attributes

STRING

String.

INT

Integer.

BIT_ARRAY

Bit array.