[docs]classMSAnalysisInput(NamedTuple):"""To set the analysis."""
[docs]classMSAnalysisContent(NamedTuple):"""The content of the analysis."""magnet_square:Union[float,np.float64]"""Magnetic Square."""num_qubits:int"""The number of qubits."""shots:int"""The number of shots."""unitary_operator:Union[str,npt.NDArray[np.float64],npt.NDArray[np.complex128]]"""The numpy array of the unitary operator or a string representing the axis of rotation."""magnet_square_cells:Union[dict[int,np.float64],dict[int,np.float64]]"""Magnetic Square cells."""taking_time:Optional[float]=None"""Taking time."""def__repr__(self):return("MSAnalysisContent("f"magnet_square={self.magnet_square}, "f"unitary_operator={self.unitary_operator}, ""and others)")
[docs]classMagnetSquareAnalysis(AnalysisPrototype[MSAnalysisInput,MSAnalysisContent]):"""The container for the analysis of :class:`~qurry.qurries.magnet_square.experiment.MagnetSquareExperiment`."""__name__="MSAnalysis"