qiskit.opflow.state_fns.CircuitStateFn.permute¶
- CircuitStateFn.permute(permutation)[fuente]¶
Permute the qubits of the circuit.
- Parámetros
permutation (List[int]) – A list defining where each qubit should be permuted. The qubit at index j of the circuit should be permuted to position permutation[j].
- Devuelve
A new CircuitStateFn containing the permuted circuit.
- Tipo del valor devuelto