state_vector_add_wires#
-
cuquantum.
bindings. custatevecEx. state_vector_add_wires( - intptr_t state_vector,
- int index_bit_domain,
- int32_t num_wires_to_add,
- int wire_init_mode,
- intptr_t wires_added,
Add wires to a state vector.
- Parameters:
state_vector (intptr_t) – state vector instance.
index_bit_domain (IndexBitDomain) – the domain of index bits to which the new wires are assigned.
num_wires_to_add (int32_t) – the number of wires to add.
wire_init_mode (WireInitMode) – initialization mode applied to each newly added wire.
wires_added (intptr_t) – host pointer to an int32_t array that receives the IDs of the newly added wires. The array length must be at least
num_wires_to_add.
See also