Commit 4199b178 authored by Dmitry I. Lyakh's avatar Dmitry I. Lyakh
Browse files

Updated the Sycamore amplitude test

parent 69e54631
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ int main(int argc, char **argv)
    //xacc::setLoggingLevel(1);

    // Options: 4, 5, 6, 8, 10, 12, 14, 16, 18, 20
    const int CIRCUIT_DEPTH = 8;
    const int CIRCUIT_DEPTH = 10;

    // Construct the full path to the XASM source file
    const std::string XASM_SRC_FILE = std::string(RESOURCE_DIR) + "/sycamore_53_" + std::to_string(CIRCUIT_DEPTH) + "_0.xasm";
@@ -48,8 +48,8 @@ int main(int argc, char **argv)
    auto qpu = xacc::getAccelerator("tnqvm", {
        std::make_pair("tnqvm-visitor", "exatn:float"),
        std::make_pair("bitstring", BIT_STRING),
        std::make_pair("exatn-buffer-size-gb", 2)
        //std::make_pair("exatn-contract-seq-optimizer", "cotengra")
        std::make_pair("exatn-buffer-size-gb", 4),
        std::make_pair("exatn-contract-seq-optimizer", "metis") //use "cutnn" when building with cuQuantum
    });

    // Allocate a register of 53 qubits