Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
71d19270
Unverified
Commit
71d19270
authored
May 26, 2021
by
Mccaskey, Alex
Committed by
GitHub
May 26, 2021
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
quantum/plugins/ibm/accelerator/IBMAccelerator.cpp
View file @
71d19270
...
...
@@ -258,7 +258,7 @@ void IBMAccelerator::initialize(const HeterogeneousMap ¶ms) {
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"
,
{},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment