kqcircuits.simulations.gds_simulation

class kqcircuits.simulations.gds_simulation.GdsSimulation(layout, input_gds, **kwargs)[source]

Bases: LayeredSimulation

Base class for simulation geometries loaded from a GDS file.

The layout of the simulation is loaded from the GDS file given as the input_gds parameter. Subclasses are intended to override the build method to create the simulation layers and ports from the loaded geometry.

Creates a simulation from a GDS file.

Any parameter can be passed as a keyword argument.

Parameters:
  • layout – the layout on which to create the simulation. The input_gds file is loaded into this layout.

  • input_gds – GDS file containing the simulation geometry.

build()[source]

Builds the simulation geometry from the loaded GDS layout.

This method is to be overridden by subclasses. The overriding method should create the simulation layers and ports from the loaded geometry.

create_geometry()[source]

Creates the simulation geometry.

PCell parameters:

  • input_gds (String) - GDS file containing the simulation geometry, default=

../_images/kqcircuits.simulations.gds_simulation.png