[][src]Function dqcsim::bindings::dqcs_gate_type

#[no_mangle]pub extern "C" fn dqcs_gate_type(gate: dqcs_handle_t) -> dqcs_gate_type_t

Returns the gate type of the given gate.

Returns DQCS_GATE_TYPE_INVALID if the gate handle is invalid.