MaxScoreOverRotationsConstrained.__call__#

MaxScoreOverRotationsConstrained.__call__(state, scores, rotation_matrix)[source]#

Update the parameter store.

Parameters:
statetuple

Current state tuple (scores, rotations, rotation_mapping) where: - scores : BackendArray, current maximum scores. - rotations : BackendArray, current rotation indices. - rotation_mapping : dict, mapping from rotation bytes to indices.

scoresBackendArray

Array of new scores to update analyzer with.

rotation_matrixBackendArray

Square matrix used to obtain the current rotation.

Returns
——-
tuple

Updated state tuple (scores, rotations, rotation_mapping).