kqcircuits.simulations.empty_simulation

class kqcircuits.simulations.empty_simulation.EmptySimulation(layout, **kwargs)[source]

Bases: Simulation

Initialize a Simulation.

The initializer parses parameters, creates a top cell, and then calls self.build to create the simulation geometry, followed by self.create_simulation_layers to process the geometry so it is ready for exporting.

Parameters:

layout – the layout on which to create the simulation

Keyword Arguments:

**kwargs

Any parameter can be passed as a keyword argument.

In addition, cell can be passed as keyword argument. If cell is supplied, it will be used as the top cell for the simulation. Otherwise, a new cell will be created. See Simulation.from_cell for creating simulations from existing cells.

build()[source]

Build simulation geometry.

This method is to be overridden, and the overriding method should create the geometry to be simulated and add any ports to self.ports.

../_images/kqcircuits.simulations.empty_simulation.png