quantumlib / Stim

A fast stabilizer circuit library.
Apache License 2.0
305 stars 88 forks source link

Change return type of CircuitRepeatBlock.name to str #783

Closed Strilanc closed 4 weeks ago

Strilanc commented 4 weeks ago

The correct return type for this method should be str as the documentation guarantees that this specific method returns "REPEAT".

Derived from https://github.com/quantumlib/Stim/pull/777

Fixes #776