CircuitState¶
- class CircuitState[source]¶
Bases:
State
An MPO-like representation of a time-evolution state based on quantum circuits.
This time-evolution state can be evolved on its left- and right-hand side as required by the
DynamicMPF
algorithm.Initialize a
CircuitState
instance.Attributes
Methods
- overlap(initial_state)[source]¶
Compute the overlap of this state with the provided initial state.
Warning
This implementation only supports instances of
qiskit.circuit.QuantumCircuit
forinitial_state
.