Skip to content

Commit

Permalink
Add manhattan_radius to RunExampleTQECSubCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
nelimee committed Oct 22, 2024
1 parent 861dbbb commit 5b39bb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tqec/_cli/subcommands/run_example.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
from __future__ import annotations


import argparse
import logging
from multiprocessing import cpu_count
from pathlib import Path

import numpy as np
import matplotlib.pyplot as plt
import numpy as np
import sinter
from typing_extensions import override

Expand Down Expand Up @@ -130,6 +129,7 @@ def execute(args: argparse.Namespace) -> None:
ks,
ps,
NoiseModel.uniform_depolarizing,
manhattan_radius=2,
block_builder=block_builder,
substitution_builder=substitution_builder,
observables=[observables[i] for i in obs_indices],
Expand Down

0 comments on commit 5b39bb6

Please sign in to comment.