squlearn.encoding_circuit.pruning_from_QFI

squlearn.encoding_circuit.pruning_from_QFI(QFI: ndarray, pruning_thresh: float = 1e-10) list

Algorithm for determining the redundant parameters from the Quantum Fischer Information.

Implementation of the method proposed in https://doi.org/10.1103/PRXQuantum.2.040309.

Parameters:
  • QFI (np.ndarray) – Quantum Fisher Information Matrix as numpy matrix.

  • pruning_thresh (float) – threshold for pruning, eigenvalues lower that value are considered to be redundant.

Returns:

List of indices of redundant parameters.