[][src]Function dqcsim::bindings::dqcs_plugin_get_cycles_since_measure

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

Returns the number of downstream cycles since the latest measurement 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.