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