Template Class JuliaITensorGenerator

Inheritance Relationships

Base Type

Class Documentation

template<typename Context = JuliaITensorGeneratorContext>
class JuliaITensorGenerator : public sequant::JuliaTensorOperationsGenerator<JuliaITensorGeneratorContext>

Generator for producing Julia code using the ITensor framework

Public Functions

JuliaITensorGenerator() = default
~JuliaITensorGenerator() = default
inline virtual std::string get_format_name() const override
Returns:

The name of the format this generator will produce (i.e. the name of the programming language and/or framework)

inline std::string represent(const Tensor &tensor, const Context &ctx) const override
inline void create(const Tensor &tensor, bool zero_init, const Context &ctx) override
inline void load(const Tensor &tensor, bool set_to_zero, const Context &ctx) override
inline void create(const Variable &variable, bool zero_init, const Context &ctx) override
inline void load(const Variable &variable, bool set_to_zero, const Context &ctx) override
inline void compute(const Expr &expression, const Tensor &result, const Context &ctx) override
inline void compute(const Expr &expression, const Variable &result, const Context &ctx) override
inline void declare(const Index &idx, const Context &ctx) override
inline void all_indices_declared(std::size_t amount, const Context&) override