[][src]Function dqcsim::bindings::dqcs_plugin_gate

#[no_mangle]pub extern "C" fn dqcs_plugin_gate(
    plugin: dqcs_plugin_state_t,
    gate: dqcs_handle_t
) -> dqcs_return_t

Tells the downstream plugin to execute a gate.

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

gate must be a valid gate object. The object is consumed by this function, i.e. the handle becomes invalid, if and only if it succeeds.