Skip to content

Commit 6ea593e

Browse files
authored
Fix two small bugs (#72)
1) a `PosixPath` was just as a parameter where a `str` was expected 2) the headline in the RL jupyter evaluation notebook was not updated to the new reward functions
1 parent 9d07f59 commit 6ea593e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

notebooks/rl/evaluation.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@
386386
"id": "5cd42294",
387387
"metadata": {},
388388
"source": [
389-
"# 3x3 Matrix With Mean Result and RL Optimization Criterion"
389+
"# 4x4 Matrix With Mean Results and RL Optimization Criterion Comparison"
390390
]
391391
},
392392
{

src/mqt/predictor/rl/Predictor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def evaluate_all_sample_circuits(self) -> None:
8787
res_csv = []
8888

8989
results = Parallel(n_jobs=-1, verbose=3, backend="threading")(
90-
delayed(self.evaluate_sample_circuit)(file)
90+
delayed(self.evaluate_sample_circuit)(str(file))
9191
for file in list(rl.helper.get_path_training_circuits().glob("*.qasm"))
9292
)
9393
res_csv.append(list(results[0].keys()))

0 commit comments

Comments
 (0)