Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.algorithms.PVQD.step

PVQD.step(hamiltonian, ansatz, theta, dt, initial_guess)[source]

Perform a single time step.

প্যারামিটার
  • hamiltonian (BaseOperator | PauliSumOp) -- The Hamiltonian under which to evolve.

  • ansatz (QuantumCircuit) -- The parameterized quantum circuit which attempts to approximate the time-evolved state.

  • theta (np.ndarray) -- The current parameters.

  • dt (float) -- The time step.

  • initial_guess (np.ndarray) -- The initial guess for the classical optimization of the fidelity between the next variational state and the Trotter-evolved last state. If None, this is set to a random vector with elements in the interval \([-0.01, 0.01]\).

রিটার্নস

A tuple consisting of the next parameters and the fidelity of the optimization.

রিটার্ন টাইপ

tuple[np.ndarray, float]