Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
768c97f9
Commit
768c97f9
authored
May 24, 2021
by
Mccaskey, Alex
Browse files
add graph addVertex with no args
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
b0b027c6
Pipeline
#147304
passed with stage
in 23 minutes and 13 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
python/py_graph.cpp
View file @
768c97f9
...
...
@@ -45,6 +45,13 @@ void bind_graph(py::module &m) {
g
.
addVertex
(
m
);
},
""
)
.
def
(
"addVertex"
,
[](
xacc
::
Graph
&
g
)
{
HeterogeneousMap
m
;
g
.
addVertex
(
m
);
},
""
)
.
def
(
"setVertexProperties"
,
[](
xacc
::
Graph
&
g
,
const
int
index
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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