qiskit.opflow.state_fns.CircuitStateFn.permute¶
- CircuitStateFn.permute(permutation)[소스]¶
Permute the qubits of the circuit.
- 매개변수
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].
- 반환
A new CircuitStateFn containing the permuted circuit.
- 반환 형식