[][src]Function dqcsim::bindings::dqcs_plugin_free

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

Free the given downstream qubits.

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

qubits must be a valid set of qubit references. The set is consumed by this function, i.e. the handle becomes invalid, if and only if it succeeds.