Commit 3ed394ca authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

adding Accelerator.initialize to python api

Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <>
parent 8d0d5780
......@@ -284,7 +284,8 @@ PYBIND11_MODULE(_pyxacc, m) {
const std::vector<std::shared_ptr<Function>>)) &
"Execute the Function with the given AcceleratorBuffer.");
"Execute the Function with the given AcceleratorBuffer.")
.def("initialize", &xacc::Accelerator::initialize, "");
py::enum_<Accelerator::AcceleratorType>(acc, "AcceleratorType")
.value("qpu_aqc", Accelerator::AcceleratorType::qpu_aqc)
Supports Markdown
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