def get_default_settings():
    """
    Return the default settings for generating LaTeX circuits.

    settings is a dictionary with the following keys:
      gate_shadow: Whether or not to apply shadowing to the gates.
      lines: Settings for the lines.
      gates: Settings for the gates.
      control: Settings for the control symbols.

    :return: Default circuit settings
    :rtype: dict
    """
    settings = dict()
    settings['gate_shadow'] = True
    settings['lines'] = ({'style': 'very thin', 'double_classical': True,
                          'init_quantum': True, 'double_lines_sep': .04})
    settings['gates'] = ({'HGate': {'width': .5, 'offset': .3, 'pre_offset': .1},
                          'XGate': {'width': .35, 'height': .35, 'offset': .1},
                          'SwapGate': {'width': .35, 'height': .35, 'offset': .1},
                          'Rx': {'width': 1., 'height': .8, 'pre_offset': .2, 'offset': .3},
                          'Ry': {'width': 1., 'height': .8, 'pre_offset': .2, 'offset': .3},
                          'Rz': {'width': 1., 'height': .8, 'pre_offset': .2, 'offset': .3},
                          'EntangleGate': {'width': 1.8, 'offset': .2, 'pre_offset': .2},
                          'DeallocateQubitGate': {'height': .15, 'offset': .2, 'width': .2, 'pre_offset': .1},
                          'AllocateQubitGate': {'height': .15, 'width': .2, 'offset': .1, 'pre_offset': .1,
                                                'draw_id': False},
                          'MeasureGate': {'width': 0.75, 'offset': .2, 'height': .5, 'pre_offset': .2}})
    settings['control'] = {'size': .1, 'shadow': False}
    return settings
Return the default settings for generating LaTeX circuits.

    settings is a dictionary with the following keys:
      gate_shadow: Whether or not to apply shadowing to the gates.
      lines: Settings for the lines.
      gates: Settings for the gates.
      control: Settings for the control symbols.

    :return: Default circuit settings
    :rtype: dict