Skip to content

Commit

Permalink
Fix for Qiskit#2286
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanro committed Jan 15, 2025
1 parent 43d2bbb commit 62a3e56
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,14 @@ class MPS_Tensor {
std::vector<cmatrix_t> data_;

static double chop_threshold_;
static uint_t max_bond_dimension_;
static double truncation_threshold_;
uint_t max_bond_dimension_ = UINT64_MAX;
double truncation_threshold_ = 1e-16;
};

//=========================================================================
// Implementation
//=========================================================================
double MPS_Tensor::chop_threshold_ = CHOP_THRESHOLD;
uint_t MPS_Tensor::max_bond_dimension_ = UINT64_MAX;
double MPS_Tensor::truncation_threshold_ = 1e-16;

const double MPS_Tensor::SQR_HALF = sqrt(0.5);

//---------------------------------------------------------------
Expand Down

0 comments on commit 62a3e56

Please sign in to comment.