Loading examples/sycamore/sycamore_circ_approx.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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", Loading Loading
examples/sycamore/sycamore_circ_approx.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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", Loading