qiskit_addon_sqd.fermion.enlarge_batch_from_transitions¶
- enlarge_batch_from_transitions(bitstring_matrix, transition_operators)[source]¶
Apply the set of transition operators to the configurations represented in
bitstring_matrix
.- Parameters:
bitstring_matrix (ndarray) – A 2D array of
bool
representations of bit values such that each row represents a single bitstring.transition_operators (ndarray) – A 1D or 2D array
I
,+
,-
, andn
strings representing the action of the identity, creation, annihilation, or number operators. Each row represents a transition operator.
- Returns:
Bitstring matrix representing the augmented set of electronic configurations after applying the excitation operators.
- Return type: