Loading [MathJax]/extensions/tex2jax.js
SyTen
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ operator+() [3/3]

State syten::MPS::operator+ ( State const &  a,
State const &  b 
)

Adds two states together as \(|\phi\rangle = |a\rangle + |b\rangle\).

Take note that this does not truncate the resulting state.