[docs]classSOAnalysisInput(NamedTuple):"""To set the analysis."""
[docs]classSOAnalysisContent(NamedTuple):"""The content of the analysis."""order:Union[float,np.float64]"""The order of the string operator."""num_qubits:int"""The number of qubits."""shots:int"""The number of shots."""i:int"""The index of beginning qubits in the quantum circuit."""k:int"""The index of ending qubits in the quantum circuit."""length:int"""The length of the string operator, which is k - i + 1."""str_op:StringOperatorLibType="i""""The string operator."""on_dir:StringOperatorDirection="x""""The direction of the string operator, either 'x' or 'y'."""
[docs]classStringOperatorAnalysis(AnalysisPrototype[SOAnalysisInput,SOAnalysisContent]):"""The container for the analysis of :class:`~qurry.qurries.string_operator.experiment.StringOperatorExperiment`."""__name__="SOAnalysis"