qiskit.opflow.state_fns.VectorStateFn.permute¶
- VectorStateFn.permute(permutation)[source]¶
Permute the qubits of the state function.
- প্যারামিটার
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 StateFn containing the permuted primitive.
- রিটার্ন টাইপ