Safe Haskell | None |
---|---|
Language | Haskell2010 |
Functions that deal with optimising and simulating measurements that take place during tomography.
- type PurePOVM = Vector WeighedPureStateVector
- type SingleQbParam = (Double, Double)
- measurementProbs :: PurePOVM -> DensityMatrix -> Vector Double
- svToAngles :: PureStateVector -> Maybe SingleQbParam
- blochAnglesToSV :: SingleQbParam -> PureStateVector
- mkAntipodalPOVM :: SingleQbParam -> PurePOVM
- productPOVM :: [PurePOVM] -> PurePOVM
- simulateMeasuremet :: DensityMatrix -> PurePOVM -> GenIO -> IO PureStateVector
- optimiseSingleQbPOVM :: OptIter -> [PureStateVector] -> ParticleHierarchy -> PurePOVM
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.
:: 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.