Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion qstone/apps/PyMatching.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ def post(self, datapath: str):

model = stim_circuit.detector_error_model(decompose_errors=True)
matching = pymatching.Matching.from_detector_error_model(model)
print(f"MARCO: datapath - {datapath}")
syndrome_path = os.path.join(
datapath, f"PyMatching_{os.environ['JOB_ID']}_syndromes.npz"
)
Expand Down
6 changes: 3 additions & 3 deletions qstone/apps/RB.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def _get_configuration(self, bench):
circuits_per_depth=self.reps,
qubit_labels=qubit_labels,
)
print(f"Generated benchmarking routing with {n_qubits} qubits")
# print(f"Generated benchmarking routing with {n_qubits} qubits")
return qubit_labels, pspec, design

@trace(
Expand Down Expand Up @@ -303,8 +303,8 @@ def post(self, datapath: str):
)
)

print(f"RB on qubit(s) {bench}")
print(list(np.around(np.mean(probs), 3) for probs in survival_probs[i]))
# print(f"RB on qubit(s) {bench}")
# print(list(np.around(np.mean(probs), 3) for probs in survival_probs[i]))

with open(report_file, "w", encoding="utf-8") as fid:
fid.write(f"survival_probs: {survival_probs}")
2 changes: 1 addition & 1 deletion qstone/connectors/no_link/no_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def postprocess(self, message: str) -> dict:
@trace(
computation_type="CONNECTION",
computation_step=ComputationStep.POST,
label="get_outcomes",
label="GET_OUTCOMES",
)
def _get_outcomes(self, qasm_circuit: str, reps: int) -> dict:
return qasm_circuit_random_sample(qasm_circuit, reps)
Expand Down