FermionicEvolutionProblem¶
- class FermionicEvolutionProblem(system, initial_state, evolution_times, observable)[source]¶
Problem class corresponding to evaluating an observable of a fermionic system after a time evolution under a hamiltonian from an initial state in an occupation number representation.
Initialize a fermionic time evolution problem.
- Parameters:
system (
FermionicLattice
) – The fermionic system under which the initial state will evolve.initial_state (
FermionicState
) – The fermionic state at time t=0.evolution_times (
Union
[float
,List
[float
]]) – List of times (or single time) after which the observable is measured.observable (
FermionicOp
) – The observable to measure after the time evolution, given as a FermionicOp. The observable must be diagonal in the fermionic occupation number basis.
- Raises:
If the sizes of the system, initial state and the observable do not match. - If the observables is not diagonal in the fermionic occupation number basis
Attributes
Return the evolution times to simulate.
Return the initial state of the system.
Return the observable as a FermionicOp.
Return the system of the problem.
Methods
FermionicEvolutionProblem.circuits
(initial_state)The problem embedded in a quantum circuit.