kqcircuits.elements.hanger_resonator

class kqcircuits.elements.hanger_resonator.HangerResonator[source]

Bases: Element

Hanger Resonator

build()[source]

Child classes re-define this method to build the PCell.

classmethod get_sim_ports(simulation)[source]

List of RefpointToSimPort objects defining which refpoints should be turned to simulation ports for the given element class

Returns empty list if not implemented for Element subclass. When implementing this method, the best practice is for this method to have no “side effects”, that is all code contained within this method should only serve to derive the list of RefpointToSimPort objects and nothing else: no change in element’s geometry or parameter values.

Parameters:
  • cls – Element class, this is a class method

  • simulation – Simulation object where a cell of this element class is placed. Use this argument if you need to decide certain arguments for RefpointToSimPort objects based on simulation’s parameters

Returns:

List of RefpointToSimPort objects, empty list by default

PCell parameters:

  • coupling_length (Double) - Length of the resonator center part (coupling), default=500, unit=μm

  • head_length (Double) - Length of the resonator left waveguide (head) , default=300, unit=μm

  • resonator_length (Double) - Total length of the resonator, default=1000, unit=μm

  • res_a (Double) - Trace width of resonator line, default=10, unit=μm

  • res_b (Double) - Gap width of resonator line, default=6, unit=μm

  • ground_width (Double) - Trace width of middle ground, default=10, unit=μm

../_images/kqcircuits.elements.hanger_resonator.png