Copy constructors using State and std::array

danceq::internal::State::State(const std::array<IntType, NInt> array_input, const bool check_data = true)

Constructor with std::array.

Initializes a State instance by setting data to the array_input.

Parameters:
  • array_input – Array input

  • check_data – Boolean to check input data (Default: true)

danceq::internal::State::State(const State<MaxSites, Q, IntType, Nbits, NInt> &state_input)

Copy constructor.

Initializes a State instance from state_input.

Parameters:

state_input – State input