MiddleOutLayerGenerator

class MiddleOutLayerGenerator[source]

Bases: SimpleLayerGenerator

Layer Generator for search that adds gates at each time step.

__init__()[source]

Construct a MiddleOutLayerGenerator.

Attributes

generated_circuits

Methods

gen_initial_layer(target, data)

Generate the initial layer, see LayerGenerator for more.

gen_successors(circuit, data)

Generate the successors of a circuit node.