pyriemann_qiskit.utils.hyper_params_factory.create_mixer_with_circular_entanglement¶
- pyriemann_qiskit.utils.hyper_params_factory.create_mixer_with_circular_entanglement(angle)[source]¶
Return a mixer with rotation gates and circular entanglement.
Applies Rx rotation gates to each qubit followed by circular entanglement using CX gates between consecutive qubits, closing the loop from the last qubit back to the first.
- Parameters:
angle (float) – The angle of the rotation gates.
- Returns:
mixer – A method that creates the mixer with the correct angle. This method takes into parameters the number of qubits in the circuit, and a parameter use_params. If True, use_params creates a Parameter in the circuit (same for all gates).
- Return type:
Callable[[int, boolean], QuantumCircuit]
Notes
Added in version 0.5.0.