Skip to content

Commit

Permalink
fix: drop redundant line
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros11 committed Nov 15, 2024
1 parent 4e763ec commit 478304b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/qibocal/protocols/qua/rb_ondevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 478304b

Please sign in to comment.