apply_pauli_rotation#
-
cuquantum.
bindings. custatevecEx. apply_pauli_rotation( - intptr_t state_vector,
- double theta,
- paulis,
- targets,
- int32_t num_targets,
- controls,
- control_bit_values,
- int32_t num_controls,
Apply the exponential of a multi-qubit Pauli operator.
- Parameters:
state_vector (intptr_t) – state vector instance.
theta (double) – theta.
paulis (object) –
host pointer to
custatevecPauli_tarray. It can be:an
intas the pointer address to the array, ora Python sequence of
custatevecPauli_t.
targets (object) –
pointer to a host array of target wires. It can be:
an
intas the pointer address to the array, ora Python sequence of
int32_t.
num_targets (int32_t) – the number of target wires.
controls (object) –
pointer to a host array of control wires. It can be:
an
intas the pointer address to the array, ora Python sequence of
int32_t.
control_bit_values (object) –
pointer to a host array of control bit values. It can be:
an
intas the pointer address to the array, ora Python sequence of
int32_t.
num_controls (int32_t) – the number of control wires.
See also