Unverified Commit 71d19270 authored by Mccaskey, Alex's avatar Mccaskey, Alex Committed by GitHub
Browse files

Merge pull request #454 from ausbin/feature/multimeas-crash

IBM Backend: Default to multi_meas_enabled=false if missing
parents 768c97f9 02982c5e
Pipeline #147561 passed with stage
in 22 minutes and 14 seconds
......@@ -258,7 +258,7 @@ void IBMAccelerator::initialize(const HeterogeneousMap &params) {
chosenBackend = availableBackends[backend];
xacc::info("Backend config:\n" + chosenBackend.dump());
multi_meas_enabled = chosenBackend["multi_meas_enabled"].get<bool>();
multi_meas_enabled = chosenBackend.value("multi_meas_enabled", false);
defaults_response =
get(IBM_API_URL,
IBM_CREDENTIALS_PATH + "/devices/" + backend + "/defaults", {},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment