SyTen

◆ operator*=() [2/2]

State & syten::MPS::State::operator*= ( SDef const  c)

Multiplies the state by a scalar as \( |\psi \rangle \to c |\psi\rangle\).

Parameters
cmultiplicative factor
Returns
a reference to *this after the multiplication

Implemented via scaling of the first tensor.

References dropUnmatched(), and maybeCache().

+ Here is the call graph for this function: