PECOS-packages / PECOS

A Python framework, library, and set of tools for exploring, developing, and evaluating quantum error-correction protocols.
Other
29 stars 6 forks source link

Use `default_rus_limit` in `Steane` class #74

Closed perlinm closed 3 months ago

perlinm commented 3 months ago

Some Steane methods (such as Steane.pz) ask for an rus_limit: int | None = None argument (rus = repeat until success). If rus_limit is None, these methods set rus_limit = self.default_rus_limit.

However, some of the newer Steane methods require an rus_limit: int | None argument, without setting a default. This PR sets the default to None.