Commit 0acc022b authored by Nguyen, Thien Minh's avatar Nguyen, Thien Minh
Browse files

Update example using new layer option



Signed-off-by: default avatarThien Nguyen <nguyentm@ornl.gov>
parent fa3e6066
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -17,9 +17,9 @@ std::string bitStringVecToString(const std::vector<int>& in_vec)
int main(int argc, char **argv)
{
 xacc::Initialize();
 //xacc::set_verbose(true);
 xacc::set_verbose(true);
 //xacc::logToFile(true);
 //xacc::setLoggingLevel(1);
 xacc::setLoggingLevel(1);

 // Options: 4, 5, 6, 8, 10, 12, 14, 16, 18, 20:
 const int CIRCUIT_DEPTH = 4;
@@ -45,7 +45,7 @@ int main(int argc, char **argv)
 // Note:
 // (1) "exatn" == "exatn:double" uses double (64-bit) type;
 // (1) "exatn:float" uses float (32-bit) type;
 constexpr int NB_LAYERS = 23;
 constexpr int NB_LAYERS = 1;
 constexpr double RECONSTRUCTION_TOL = 1e-3;
 constexpr int MAX_BOND_DIM = 16;
 auto qpu = xacc::getAccelerator("tnqvm",