SparsePauliOp.__getitem__

SparsePauliOp.__getitem__(key)[source]

Return a view of the SparsePauliOp.