paraqeet.measurement.mixed_state_transfer_fidelity.MixedStateTransferFidelity#

class paraqeet.measurement.mixed_state_transfer_fidelity.MixedStateTransferFidelity(propagation, targetState)[source]#

Bases: Measurement

Mixed state transfer fidelity measurement model.

Fidelity measure that compares the overlap of the initial and final state of density matrices. Note: this implementation is still very inaccurate.

Parameters:
  • propagation (Propagation) – Abstract base class for any implementation that can solve the equation of motion.

  • targetState (Array) – Final state of the density matrices.

  • times (Array) – One-dimensional vector of timestamps.

__init__(propagation, targetState)[source]#
Parameters:

Methods

__init__(propagation, targetState)

measure(times)

Measure overlap between initial and final state of density matrices.

measure(times)[source]#

Measure overlap between initial and final state of density matrices.

Returns:

Overlap between initial and final state of density matrices.

Return type:

Array

Raises:

IncompatibleLayersException – Raises an exception if required vector shape is not received.

Parameters:

times (Array)