# setDipole

sets the dipole transition moment between two level in an Nlevel subsystem

## Contents

- Syntax
- Description
- Detailed Description and Examples

## Syntax

setDipole(levels,u)

## Description

setDipole(levels,u) levels contains excactly analogous to the syntax as used in the coupling and lindblad commands the numbers of the levels between which the dipole moment is set (starting at zero). u denotes the dipole moment. By default all dipols between levels

## Detailed Description and Examples

The dipole set via this method only effects the interaction with external fields. The time dependent Hamiltonian generated by the external field is given by

where denotes the dipole matrix. The entries in this matrix automatically set at the correct place, depending on which levels vector is given.