English
Deutsch
Español
Français
Italiano
Suomi
Svenska
日本語
Which command installs the ``MPQP`` package?
*
npm install mpqp
pip install mpqp
pip install qiskit-mpqp
conda install mpqp-core
Which line creates an empty MPQP circuit with 2 qubits?
*
circuit = QCircuit(2)
circuit = QuantumCircuit(2, mpqp=True)
circuit = MPQPCircuit(2)
circuit = QCircuit(qubits=[0, 1])
If no measurement is added before running a circuit, what does MPQP retrieve?
*
A StateVector in the computational basis
An error
A classical string only
A provider configuration file
After running this code snippet, what result should you expect? ```python from mpqp import QCircuit, H, BasisMeasure, run, IBMDevice circuit = QCircuit([H(0), BasisMeasure([0], shots=1000)]) print(run(circuit, IBMDevice.AER_SIMULATOR)) ```
*
Only 0
An error
Roughly half |0> and half |1>
Only 1
A noise model is created without specifying targets, where does it apply?
*
To no qubits
To all qubits
Only to qubit 0
None