newsynth-0.3.0.5: Exact and approximate synthesis of quantum circuits

Safe HaskellNone
LanguageHaskell98

Quantum.Synthesis.Ring.FixedPrec

Contents

Description

This module provides ring instances for Data.Number.FixedPrec.

Documentation

Orphan instances

Precision e => Floor (FixedPrec e) Source # 

Methods

floor_of :: FixedPrec e -> Integer Source #

ceiling_of :: FixedPrec e -> Integer Source #

Precision e => Adjoint2 (FixedPrec e) Source # 

Methods

adj2 :: FixedPrec e -> FixedPrec e Source #

Precision e => Adjoint (FixedPrec e) Source # 

Methods

adj :: FixedPrec e -> FixedPrec e Source #

Precision e => RootHalfRing (FixedPrec e) Source # 

Methods

roothalf :: FixedPrec e Source #

fromDRootTwo :: DRootTwo -> FixedPrec e Source #

Precision e => RootTwoRing (FixedPrec e) Source # 

Methods

roottwo :: FixedPrec e Source #

fromZRootTwo :: ZRootTwo -> FixedPrec e Source #

Precision e => HalfRing (FixedPrec e) Source # 

Methods

half :: FixedPrec e Source #

fromDyadic :: Dyadic -> FixedPrec e Source #