pyriemann_qiskit.pipelines.QuantumMDMVotingClassifier¶
- class pyriemann_qiskit.pipelines.QuantumMDMVotingClassifier(quantum=True, q_account_token=None, verbose=True, shots=1024, upper_bound=7)[source]¶
Voting classifier with two QuantumMDMWithRiemannianPipeline
Voting classifier with two configurations of QuantumMDMWithRiemannianPipeline:
with mean = qeuclid and distance = euclid,
with mean = logeuclid and distance = qlogeuclid.
- Parameters:
quantum (bool (default: True)) –
If true will run on local or remote backend (depending on q_account_token value),
If false, will perform classical computing instead.
q_account_token (string (default:None)) – If quantum is True and q_account_token provided, the classification task will be running on a IBM quantum backend. If load_account is provided, the classifier will use the previous token saved with IBMProvider.save_account().
verbose (bool (default:True)) – If true, will output all intermediate results and logs.
shots (int (default:1024)) – Number of repetitions of each circuit, for sampling.
gen_feature_map (Callable[[int, str], QuantumCircuit | FeatureMap] (default : Callable[int, ZZFeatureMap])) – Function generating a feature map to encode data into a quantum state.
Notes
Added in version 0.1.0.
See also
Examples using pyriemann_qiskit.pipelines.QuantumMDMVotingClassifier¶
Brain-Invaders with illiteracy classification example
Classification of P300 datasets from MOABB using Quantum MDM