Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.quantum_info.PauliTable.tensor

PauliTable.tensor(other)[source]

Return the tensor output product of two tables.

This returns the combination of the tensor product of all Paulis in the current table with all Pauli's in the other table, with the other tables qubits being the least-significant in the returned table. This is the opposite tensor order to expand().

Example

from qiskit.quantum_info.operators import PauliTable

current = PauliTable.from_labels(['I', 'X'])
other =  PauliTable.from_labels(['Y', 'Z'])
print(current.tensor(other))
PauliTable: ['IY', 'IZ', 'XY', 'XZ']
প্যারামিটার

other (PauliTable) -- another PauliTable.

রিটার্নস

the tensor outer product table.

রিটার্ন টাইপ

PauliTable

রেইজেস

QiskitError -- if other cannot be converted to a PauliTable.