Commit b7704baf authored by Dmitry I. Lyakh's avatar Dmitry I. Lyakh Committed by GitHub

Merge pull request #27 from tnguyen-ornl/contraction_seq_public

Make import/export ContractionSequence member functions public
parents 081457f0 5dbd4cd3
......@@ -287,6 +287,12 @@ public:
/** Returns the list of tensor operations required for evaluating the tensor network. **/
std::list<std::shared_ptr<TensorOperation>> & getOperationList(const std::string & contr_seq_opt_name = "dummy");
/** Imports and caches an externally provided tensor contraction sequence. **/
void importContractionSequence(const std::list<ContrTriple> & contr_sequence);
/** Returns the currently stored tensor contraction sequence, if any. **/
const std::list<ContrTriple> & exportContractionSequence() const;
/** Emplaces a connected tensor into the tensor network. **/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment