tequila.circuit.gates.Trotterized

tequila.circuit.gates.Trotterized(generators: List[tequila.hamiltonian.qubit_hamiltonian.QubitHamiltonian], steps: int, angles: Union[List[collections.abc.Hashable], List[numbers.Real], List[tequila.objective.objective.Variable]] = None, control: Union[list, int] = None, parameters: tequila.circuit._gates_impl.TrotterParameters = None) → tequila.circuit.circuit.QCircuit[source]
Parameters
  • generators (typing.List[QubitHamiltonian] :) – list of generators

  • angles (typing.Union[typing.List[typing.Hashable] :) – coefficients for each generator

  • steps (int :) – trotter steps

  • control (typing.Union[list :) – control qubits

  • parameters (TrotterParameters :) – Additional Trotter parameters, if None then defaults are used

  • generators

  • steps

  • angles

  • typing.List[numbers.Real]

  • typing.List[Variable]] – (Default value = None)

  • control

  • int] – (Default value = None)

  • parameters – (Default value = None)

Returns

object

Return type

QCircuit