NABAT
  • Member for 1 year, 7 months
  • Last seen more than a month ago
VQE restart from a previous computation
5 votes

You can use a callback function to save the parameters for each iterations of your vqe algorithm and even store the mean, std. Below an example: # Create the callback function to store intermediate ...

View answer
Set the bounds for ansatz parameters in VQE
3 votes

You can set the attribute parameters_bounds of a circuit to the desired intervals like below: from qiskit import QuantumCircuit from qiskit.circuit import Parameter a=Parameter('a') b=Parameter('b') ...

View answer
Why running time of qasm simulator is significantly smaller in comparison with quantum machines?
3 votes

A simulator executes just an algorithm on a classical hardware as Martin said. On a real quantum hardware, your circuit is calibrated before actually being executed. In addition, there are other tasks ...

View answer