[docs]classEMHAnalysisInput(NamedTuple):"""To set the analysis."""
[docs]classEMHAnalysisContent(NamedTuple):"""The content of the analysis."""purity:float"""The purity of the system."""entropy:float"""The entanglement entropy of the system."""def__repr__(self):returnf"EMHAnalysisContent(purity={self.purity}, entropy={self.entropy})"
[docs]classEntropyMeasureHadamardAnalysis(AnalysisPrototype[EMHAnalysisInput,EMHAnalysisContent]):"""The instance for the analysis of :class:`~qurry.qurrent.hadamard_test.experiment.EntropyMeasureHadamardExperiment`. """__name__="EMHAnalysis"