Commit 4f890c51 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

fixing bug with python


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 60596c31
Pipeline #59234 passed with stages
in 10 minutes and 36 seconds
......@@ -99,7 +99,7 @@ public:
void initialize() override {
void*const libpython_handle = dlopen("libpython3.6m.so", RTLD_LAZY | RTLD_GLOBAL);
if (xacc::optionExists("qcs-backend")) {
if (xacc::optionExists("qcs-backend") && !xacc::isPyApi) {
auto backend = xacc::getOption("qcs-backend");
if (backend.find("-qvm") != std::string::npos) {
......
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