[−][src]Function dqcsim::bindings::dqcs_gate_new_predef_two
#[no_mangle]pub extern "C" fn dqcs_gate_new_predef_two(
gate_type: dqcs_predefined_gate_t,
qa: dqcs_qubit_t,
qb: dqcs_qubit_t,
param_data: dqcs_handle_t
) -> dqcs_handle_t
Constructs a new predefined unitary two-qubit gate.
This function is simply a shorthand for dqcs_gate_new_predef()
with
two qubit in the qubits
set, to make constructing two-qubit gates more
ergonomic. Refer to its documentation for more information.