TPBGroupedWeightedPauliOperator.evolve_instruction

TPBGroupedWeightedPauliOperator.evolve_instruction(evo_time=0, num_time_slices=1, expansion_mode='trotter', expansion_order=1)

Carry out the eoh evolution for the operator under supplied specifications.

Parameters
Returns

The constructed QuantumCircuit.

Return type

QuantumCircuit

Raises
  • ValueError – Number of time slices should be a non-negative integer

  • NotImplementedError – expansion mode not supported

  • AquaError – if operator is empty