Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from HQSquantumsimulations/develop
Browse files Browse the repository at this point in the history
Updating to 3.2.0
  • Loading branch information
nfwvogt authored Aug 11, 2020
2 parents 0c2fd82 + ddee881 commit 77e5aa4
Show file tree
Hide file tree
Showing 20 changed files with 3,588 additions and 882 deletions.
2 changes: 1 addition & 1 deletion QuEST
Submodule QuEST updated 323 files
7 changes: 7 additions & 0 deletions pyquest_cffi/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[flake8]
max-line-length = 100
ignore = D400,D401,W503, ANN101, ANN102, ANN002, ANN003
exclude = .git,__pycache__,doc/conf.py,old,build,dist,test_*
doctring-convention = google
per-file-ignores =
__init__.py: F401
38 changes: 25 additions & 13 deletions pyquest_cffi/cheat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,45 @@
calcProbOfOutcome,
calcPurity,
calcTotalProb,
getAbsoluteValSquaredatIndex,
getDensityMatrixatRowColumn,
getStateVectoratIndex,
getAmp,
getDensityMatrixatRowColumn,
getDensityAmp,
getAbsoluteValSquaredatIndex,
getProbAmp,
getRealAmp,
getImagAmp,
basis_state_to_index,
getStateVector,
getNumAmps,
getNumQubits,
getExpectationValue,
getDensityMatrix,
getOccupationProbability,
getExpectationValue,
getRepeatedMeasurement,
calcDensityInnerProduct,
calcExpecPauliProd,
getStateVector,
getEnvironmentString,
calcExpecPauliSum,
calcHilberSchmidtDistance)
calcExpecPauliProd,
calcExpecDiagonalOp,
calcExpecPauliHamil,
calcHilbertSchmidtDistance,
calcDensityInnerProduct,
seedQuEST,
seedQuESTDefault,
syncQuESTEnv,
syncQuESTSuccess,
basis_state_to_index,
index_to_basis_state,
)
from pyquest_cffi.cheat.initialization import (
initClassicalState,
initZeroState,
initPlusState,
initClassicalState,
initPureState,
initStateDebug,
initStateFromAmps,
initZeroState,
setAmps,
initDebugState,
setDensityAmps,
setAmps,
setWeightedQureg,
initBlankState,
setWeightedQureg
initPauliHamil,
)
Loading

0 comments on commit 77e5aa4

Please sign in to comment.