Description Usage Arguments Value See Also
View source: R/Pauli_Clifford.R
Parent class for 'DensePauliString' and 'MutableDensePauliString'.
1 | pauli_dense_string(pauli_mask, coefficient)
|
pauli_mask |
A specification of the Pauli gates to use. This argument can be a string like “IXYYZ”, or a numeric list like [0, 1, 3, 2] with I=0, X=1, Y=2, Z=3=X|Y. The internal representation is a 1-dimensional uint8 numpy array containing numeric values. If such a numpy array is given, and the pauli string is mutable, the argument will be used directly instead of being copied. |
coefficient |
A complex number. Usually +1, -1, 1j, or -1j but other values are supported. |
a pauli object
Other Pauli and Clifford groups:
clifford_single_qubit_gate()
,
clifford_state()
,
clifford_tableau()
,
pauli_base_dense_string()
,
pauli_basis()
,
pauli_gate_like()
,
pauli_interaction_gate()
,
pauli_mutable_dense_string()
,
pauli_pow_combination()
,
pauli_string_gate_operation()
,
pauli_string()
,
pauli_sum_like()
,
pauli_sum()
,
pauli_transform()
,
pauli()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.