diff --git a/src/qibocal/auto/operation.py b/src/qibocal/auto/operation.py index 8c7b18aa1..775d7e851 100644 --- a/src/qibocal/auto/operation.py +++ b/src/qibocal/auto/operation.py @@ -61,6 +61,8 @@ class Parameters: """Number of executions on hardware""" relaxation_time: float """Wait time for the qubit to decohere back to the `gnd` state""" + nboot: int + """Number of bootstrap samples""" @classmethod def load(cls, parameters): @@ -74,7 +76,10 @@ def load(cls, parameters): the linked outputs """ - return cls(**parameters) + nboot = parameters.pop("nboot", 0) + par = cls(**parameters) + par.nboot = nboot + return par class Data: diff --git a/src/qibocal/auto/task.py b/src/qibocal/auto/task.py index 6d04a4bfb..0918f649c 100644 --- a/src/qibocal/auto/task.py +++ b/src/qibocal/auto/task.py @@ -118,7 +118,6 @@ def run( except RuntimeError: operation = dummy_operation parameters = DummyPars() - if operation.platform_dependent and operation.qubits_dependent: if len(self.qubits) > 0: if platform is not None: diff --git a/src/qibocal/protocols/characterization/ramsey.py b/src/qibocal/protocols/characterization/ramsey.py index 83c02fde0..d6ce06fe1 100644 --- a/src/qibocal/protocols/characterization/ramsey.py +++ b/src/qibocal/protocols/characterization/ramsey.py @@ -35,8 +35,6 @@ class RamseyParameters(Parameters): """Number of shots.""" relaxation_time: Optional[int] = None """Relaxation time (ns).""" - nboot: int = 0 - """Number of bootstrap samples""" @dataclass