cuquantum.custatevec.apply_pauli_rotation¶
- cuquantum.custatevec.apply_pauli_rotation(intptr_t handle, intptr_t sv, int sv_data_type, uint32_t n_index_bits, double theta, paulis, targets, uint32_t n_targets, controls, control_bit_values, uint32_t n_controls)[source]¶
- Apply the exponential of a multi-qubit Pauli operator. - Parameters
- handle (intptr_t) – The library handle. 
- sv (intptr_t) – The pointer address (as Python - int) to the statevector (on device).
- sv_data_type (cuquantum.cudaDataType) – The data type of the statevector. 
- n_index_bits (uint32_t) – The number of index bits. 
- theta (double) – The rotation angle. 
- paulis – - A host array of - Paulioperators. It can be
- targets – - A host array of target bits. It can be - an - intas the pointer address to the array
- a Python sequence of target bits 
 
- n_targets (uint32_t) – The length of - targets.
- controls – - A host array of control bits. It can be - an - intas the pointer address to the array
- a Python sequence of control bits 
 
- control_bit_values – - A host array of control bit values. It can be - an - intas the pointer address to the array
- a Python sequence of control bit values 
 
- n_controls (uint32_t) – The length of - controls.
 
 - See also