[][src]Function dqcsim::bindings::dqcs_plugin_get_cycles_between_measures

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

Returns the number of downstream cycles between the last two measurements of the given downstream qubit.

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

This function uses -1 to signal an error.