[][src]Function dqcsim::bindings::dqcs_gate_new_predef_three

#[no_mangle]pub extern "C" fn dqcs_gate_new_predef_three(
    gate_type: dqcs_predefined_gate_t,
    qa: dqcs_qubit_t,
    qb: dqcs_qubit_t,
    qc: dqcs_qubit_t,
    param_data: dqcs_handle_t
) -> dqcs_handle_t

Constructs a new predefined unitary three-qubit gate.

This function is simply a shorthand for dqcs_gate_new_predef() with three qubit in the qubits set, to make constructing three-qubit gates more ergonomic. Refer to its documentation for more information.