From 478304b809b33e45f9396ab8f427ecd71d2b5158 Mon Sep 17 00:00:00 2001 From: Stavros Efthymiou <35475381+stavros11@users.noreply.github.com> Date: Fri, 15 Nov 2024 15:23:33 +0400 Subject: [PATCH] fix: drop redundant line --- src/qibocal/protocols/qua/rb_ondevice.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/qibocal/protocols/qua/rb_ondevice.py b/src/qibocal/protocols/qua/rb_ondevice.py index 6392143b8..a7b418a2e 100644 --- a/src/qibocal/protocols/qua/rb_ondevice.py +++ b/src/qibocal/protocols/qua/rb_ondevice.py @@ -52,10 +52,6 @@ def __post_init__(self): if self.seed is None: self.seed = np.random.randint(0, int(1e6)) - def __post_init__(self): - if self.seed is None: - self.seed = np.random.randint(0, int(1e6)) - def generate_sequence(max_circuit_depth, seed): sequence = declare(int, size=max_circuit_depth + 1) @@ -396,9 +392,6 @@ def _acquisition( rb, compiler_options=CompilerOptionArguments(flags=["not-strict-timing"]) ) - with open("qua_script.py", "w") as file: - file.write(generate_qua_script(rb, config)) - # Get results from QUA program if state_discrimination: results = fetching_tool(job, data_list=["state_avg", "iteration"], mode="live")