def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, ['row', 'col', 'dimension'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, ['_mixture', '_key'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, [])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, ['gate', 'qubits'])
def _json_dict_(self): return protocols.obj_to_dict_helper(self, ['pauli', 'qubit'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper( self, ['calibration_type', 'program', 'args'])
def _json_dict_(self): return protocols.obj_to_dict_helper(self, attribute_names=[])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper( self, ['col_offset', 'vertical', 'stagger'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper( self, ['n', 'G', 'F', 'M', 'gamma', 'v', 's', 'omega'])
def _json_dict_(self) -> Dict[str, Any]: # TODO (gh-4699): serialize `device` as well once SerializableDevice is serializable. return obj_to_dict_helper(self, attribute_names=['run_id'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, attribute_names=['permutation'])
def _json_dict_(self): return protocols.obj_to_dict_helper(self, ['row', 'col'])
def _json_dict_(self): return protocols.obj_to_dict_helper(self, ['n', 'rs', 'xs', 'zs'])
def _json_dict_(self): # Descendants should be singletons determined solely by the class name. # Otherwise, you must override this method. return protocols.obj_to_dict_helper(self, ['eigenvalue'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, ['sub_operation', 'tags'])
def _json_dict_(self): return protocols.obj_to_dict_helper(self, [])
def _json_dict_(self): return protocols.obj_to_dict_helper(self, ['eps', 'kappa'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, ['error_probabilities'])
def _json_dict_(self): return protocols.obj_to_dict_helper(self, ['qubit', 'dimension'])
def _json_dict_(self) -> Dict[str, Any]: if self._n_qubits == 1: return protocols.obj_to_dict_helper(self, ['p']) return protocols.obj_to_dict_helper(self, ['p', 'n_qubits'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, attribute_names=["gate", "qubits"])
def _json_dict_(self): return protocols.obj_to_dict_helper( self, ['axis_phase_exponent', 'x_exponent', 'z_exponent'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, ['exponent', 'global_shift'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper( self, ['theta', 'zeta', 'chi', 'gamma', 'phi'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, ['n', 'rs', 'xs', 'zs'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, ['pauli_mask', 'coefficient'])
def _json_dict_(self): return protocols.obj_to_dict_helper( self, ['dense_pauli_string', 'exponent_neg', 'exponent_pos'])
def _json_dict_(self): return protocols.obj_to_dict_helper(self, ['operations'])
def _json_dict_(self): return protocols.obj_to_dict_helper(self, ['qubit_noise_gate'])
def _json_dict_(self) -> Dict[str, Any]: return protocols.obj_to_dict_helper(self, ['sub_gate', 'probability'])