Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.circuit.QuantumCircuit.hamiltonian

QuantumCircuit.hamiltonian(operator, time, qubits, label=None)

Apply hamiltonian evolution to qubits.

This gate resolves to a UnitaryGate as \(U(t) = exp(-i t H)\), which can be decomposed into basis gates if it is 2 qubits or less, or simulated directly in Aer for more qubits.

প্যারামিটার
  • operator (matrix or Operator) -- a hermitian operator.

  • time (float or ParameterExpression) -- time evolution parameter.

  • qubits (Union[int, Tuple[int]]) -- The circuit qubits to apply the transformation to.

  • label (str) -- unitary name for backend [Default: None].

রিটার্নস

The quantum circuit.

রিটার্ন টাইপ

QuantumCircuit

রেইজেস

ExtensionError -- if input data is not an N-qubit unitary operator.