diff --git a/quantinuum_schemas/models/backend_config.py b/quantinuum_schemas/models/backend_config.py index 29f780f..4e08e56 100644 --- a/quantinuum_schemas/models/backend_config.py +++ b/quantinuum_schemas/models/backend_config.py @@ -389,15 +389,9 @@ def validate_runtime_and_error_model(self) -> Self: ) if isinstance(self.error_model, HeliosCustomErrorModel): if isinstance(self.simulator, StabilizerSimulator): - if self.error_model.error_params.coherent_dephasing is False: - raise ValueError( - "HeliosErrorModel with StabilizerSimulator must have " - "coherent_dephasing set to True" - ) - else: if self.error_model.error_params.coherent_dephasing is True: raise ValueError( - "HeliosErrorModel with non-StabilizerSimulator must have " + "HeliosErrorModel with StabilizerSimulator must have " "coherent_dephasing set to False" )