Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.OperatorBase.permute

abstract OperatorBase.permute(permutation)[código fonte]

Permutes the qubits of the operator.

Parâmetros

permutation (List[int]) – A list defining where each qubit should be permuted. The qubit at index j should be permuted to position permutation[j].

Tipo de retorno

OperatorBase

Retorno

A new OperatorBase containing the permuted operator.

Levanta

OpflowError – if indices do not define a new index for each qubit.