HABQT-0.1.0.0: Hierarchical adaptive Bayesian quantum tomography for quantum bits

Safe HaskellNone
LanguageHaskell2010

HABQTlib.MeasurementProcessing

Description

Functions that deal with optimising and simulating measurements that take place during tomography.

Synopsis

Documentation

type PurePOVM = Vector WeighedPureStateVector Source #

A POVM consisting of projections onto pure states.

type SingleQbParam = (Double, Double) Source #

Spherical coordinates of a pure single qubit state on Bloch sphere.

measurementProbs :: PurePOVM -> DensityMatrix -> Vector Double Source #

Probabilities to measure elements of POVM when performing the measurement over a mixed state.

svToAngles :: PureStateVector -> Maybe SingleQbParam Source #

Return spherical coordinates of a single qubit pure state (on Bloch sphere).

blochAnglesToSV :: SingleQbParam -> PureStateVector Source #

Recover a state vector from spherical coordinates.

mkAntipodalPOVM :: SingleQbParam -> PurePOVM Source #

Given spherical coordinates, construct a POVM from the given vector and one orthogonal to it.

productPOVM :: [PurePOVM] -> PurePOVM Source #

Given a list of POVM measurements on sub-systems, construct a POVM over the composite system that includes all of them.

simulateMeasuremet :: DensityMatrix -> PurePOVM -> GenIO -> IO PureStateVector Source #

Simulate a POVM over a mixed state and return the state vector on which the projection was obtained.

optimiseSingleQbPOVM Source #

Arguments

:: OptIter

Number of optimisation steps to perform

-> [PureStateVector]

single qubit initial states

-> ParticleHierarchy 
-> PurePOVM 

Approximate most informative separable POVM over a composite system of quantum bits, given a list of single-qubit starting points and a particle distribution.