Skip to content

Commit

Permalink
Rename nMeasurements, shots_requested, shots_done.
Browse files Browse the repository at this point in the history
  • Loading branch information
rturrado committed Jun 11, 2024
1 parent 42ca4e7 commit c29527f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/Qxelarator.i
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

auto const* cppSimulationResult = std::get_if<qx::SimulationResult>(&$1);

PyObject_SetAttrString(simulationResult, "shots_done", PyLong_FromUnsignedLongLong(cppSimulationResult->shots_done));
PyObject_SetAttrString(simulationResult, "shots_requested", PyLong_FromUnsignedLongLong(cppSimulationResult->shots_requested));
PyObject_SetAttrString(simulationResult, "shots_done", PyLong_FromUnsignedLongLong(cppSimulationResult->shotsDone));
PyObject_SetAttrString(simulationResult, "shots_requested", PyLong_FromUnsignedLongLong(cppSimulationResult->shotsRequested));

auto results = PyDict_New();
for(auto const& [state, count]: cppSimulationResult->results) {
Expand Down

0 comments on commit c29527f

Please sign in to comment.