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
4f890c51
Commit
4f890c51
authored
Jun 11, 2019
by
Mccaskey, Alex
Browse files
fixing bug with python
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
60596c31
Pipeline
#59234
passed with stages
in 10 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
quantum/plugins/rigetti/qcs/QCSAccelerator.hpp
View file @
4f890c51
...
...
@@ -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
)
{
...
...
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