[][src]Function dqcsim::bindings::dqcs_plugin_get_measurement

#[no_mangle]pub extern "C" fn dqcs_plugin_get_measurement(
    plugin: dqcs_plugin_state_t,
    qubit: dqcs_qubit_t
) -> dqcs_handle_t

Returns the latest measurement of the given downstream qubit.

Backend plugins are not allowed to call this. Doing so will result in an error.

If the function succeeds, it returns a new handle to a qubit measurement result object. Otherwise it returns 0.