Still thinking quantum...
Thought I would start looking through various error mitigation techniques, what they are,
what they do. One can enable them within qiskit, run on a simulator but, to be real, run them
on an actual quantum computer. They are run on the Estimator primitives (as opposed to
the Sampler).
Errors can sometimes show up on idling qubits ie qubits not being called up while performing
a given operation.
Dynamical decoupling works by inserting pulse sequences on idling qubits to approximately cancel out the effect of these errors. Each inserted pulse sequence amounts to an identity operation, but the physical presence of the pulses has the effect of suppressing errors.
* * *
First, need to learn about using Estimator:
Primitives examples | IBM Quantum Documentation
This code snippet demonstrates how to:
Initialize the Qiskit Runtime Service and select a backend.
Create a quantum circuit using the IQP (Instantaneous Quantum Polynomial) circuit.
Define an observable using the
SparsePauliOp
class.Transpile the circuit to match the backend's instruction set architecture.
Initialize the Estimator primitive.
Run the Estimator to calculate the expectation value of the circuit with the given observable.
Print the expectation value and metadata.
No comments:
Post a Comment