sv_updater_enqueue_unitary_channel#
-
cuquantum.
bindings. custatevecEx. sv_updater_enqueue_unitary_channel( - intptr_t sv_updater,
- unitaries,
- int unitaries_data_type,
- ex_matrix_types,
- int32_t num_unitaries,
- int layout,
- probabilities,
- channel_wires,
- int32_t num_channel_wires,
Enqueue mixed unitary channel.
- Parameters:
sv_updater (intptr_t) – SVUpdater instance.
unitaries (object) –
host pointer to an array of unitary matrix elements. It can be:
unitaries_data_type (int) – dataType of the specified unitary matrices.
ex_matrix_types (object) –
matrix types of the specified unitary matrices. It can be:
an
intas the pointer address to the array, ora Python sequence of
_MatrixType.
num_unitaries (int32_t) – the number of matrices.
layout (int) – layout of the specified unitary matrices.
probabilities (object) –
host array that holds the probabilities. It can be:
an
intas the pointer address to the array, ora Python sequence of
float.
channel_wires (object) –
wires that sampled unitary channel is applied. It can be:
an
intas the pointer address to the array, ora Python sequence of
int32_t.
num_channel_wires (int32_t) – the number of wires.