German
Sprachen
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.PauliList.dot

PauliList.dot(other, qargs=None, inplace=False)[Quellcode]

Return the composition other∘self for each Pauli in the list.

Parameter
  • other (PauliList) – another PauliList.

  • qargs (None or list) – qubits to apply dot product on (Default: None).

  • inplace (bool) – If True update in-place (default: False).

Rückgabe

the list of composed Paulis.

Rückgabetyp

PauliList

Verursacht

QiskitError – if other cannot be converted to a PauliList, does not have either 1 or the same number of Paulis as the current list, or has the wrong number of qubits for the specified qargs.