source.qed_amplitude_vec module

class source.qed_amplitude_vec.qed_amplitude_vec(**kwargs)

Bases: AmplitudeVector

Construct a polaritonic amplitude vector. Typical use cases are AmplitudeVector(ph=single_ex_phot_vac, gs1=gs_phot_1, ph1=single_ex_phot_1). The provided tensor objects should be libtensors for ph, pphh, etc. and numpy.ndarrays for gs1, gs2, etc.

__init__(**kwargs)

Construct a polaritonic amplitude vector. Typical use cases are AmplitudeVector(ph=single_ex_phot_vac, gs1=gs_phot_1, ph1=single_ex_phot_1). The provided tensor objects should be libtensors for ph, pphh, etc. and numpy.ndarrays for gs1, gs2, etc.

copy()

Return a copy of the AmplitudeVector

dot(other)

Return the dot product with another AmplitudeVector or the dot products with a list of AmplitudeVectors. In the latter case a np.ndarray is returned.

evaluate()
property needs_evaluation