MatrixExponential

class qiskit.synthesis.MatrixExponential[source]

Bases: EvolutionSynthesis

Exact operator evolution via matrix exponentiation and unitary synthesis.

This class synthesis the exponential of operators by calculating their exponentially-sized matrix representation and using exact matrix exponentiation followed by unitary synthesis to obtain a circuit. This process is not scalable and serves as comparison or benchmark for small systems.

Attributes

settings

Return the settings in a dictionary, which can be used to reconstruct the object.

Returns:

A dictionary containing the settings of this product formula.

Raises:

NotImplementedError – The interface does not implement this method.

Methods

synthesize(evolution)[source]

Synthesize an qiskit.circuit.library.PauliEvolutionGate.

Parameters:

evolution (PauliEvolutionGate) – The evolution gate to synthesize.

Returns:

A circuit implementing the evolution.

Return type:

QuantumCircuit