SteaneBuilder¶
- class guppyft.code.steane.encode.SteaneBuilder(*, _options: ~guppyft.code.steane.encode._SteaneOptions = <factory>)[source]¶
Steane architecture builder class for creating SteaneInstance objects.
- __eq__(other)¶
Return self==value.
- __repr__()¶
Return repr(self).
- build(n_blocks: int) SteaneInstance[source]¶
Build a SteaneInstance configured for n_blocks logical blocks.
- with_magic_factory_conf(conf: RUSStateFactoryConf) Self[source]¶
Set the magic state factory configuration.
- with_zero_factory_conf(conf: RUSStateFactoryConf) Self[source]¶
Set the zero state factory configuration.