SteaneBuilder¶
- class guppyft.code.steane.encode.SteaneBuilder(*, _options=<factory>)[source]¶
Steane architecture builder class for creating SteaneInstance objects.
- __init__(*, _options=<factory>)¶
- classmethod from_params(params)[source]¶
Produces a builder according to the given parameters.
- Return type:
- classmethod instance_from_params(params)[source]¶
Produces an instance with the builder according to the given parameters. To be used as the ‘inverse’ of SteaneInstance.annotate.
- Return type:
- classmethod new(*, n_blocks)[source]¶
Create a new builder with some initial options. Note that the builder configuration is not guaranteed to be complete yet.
- Return type: