SyTen

◆ apply_op_naive() [2/2]

void syten::MPS::apply_op_naive ( State a,
Operator const &  op 
)

Applies the MPO op to the MPS a without truncation.

Parameters
[in,out]athe MPS to which the operator is applied
[in]opthe MPO which is applied to the state
Returns
void

Contracts MPS and MPO components on every site, using a standard isometry to combine the two auxiliary indices.

References syten::MPS::Operator::dIdx, syten::MPS::State::dropUnmatched(), syten::genCombinator(), syten::genFuse(), syten::genSplit(), syten::MPS::Operator::lIdx, syten::MPS::State::lIdx, syten::MPS::State::lInt, syten::MPS::State::maybeCache(), syten::MPS::Operator::rIdx, syten::MPS::State::rIdx, syten::MPS::State::rInt, syten::MPS::State::size(), SYTEN_ASSERT, syten::MPS::Operator::uIdx, syten::MPS::State::uInt, and syten::validateTensorEdge().

Referenced by tayor_time_evolution().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: