Commit 768c97f9 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

add graph addVertex with no args


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent b0b027c6
Pipeline #147304 passed with stage
in 23 minutes and 13 seconds
......@@ -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,
......
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