Template Function Jet::operator<<(std::ostream&, const TensorNetwork<Tensor>&)

Function Documentation

template<class Tensor>
inline std::ostream &Jet::operator<<(std::ostream &out, const TensorNetwork<Tensor> &tn)

Streams a TensorNetwork to an output stream.

Template Parameters

Tensor – Type of the tensor in the tensor network.

Parameters
  • out – Output stream to be modified.

  • tnTensor network to be streamed.

Returns

Reference to the given output stream.