diff --git a/science/Makefile b/science/Makefile index 8cf5f3a1088d..5442d319d9fa 100644 --- a/science/Makefile +++ b/science/Makefile @@ -1,431 +1,432 @@ COMMENT = Scientific ports SUBDIR += 2d-rewriter SUBDIR += ALPSCore SUBDIR += ChipmunkPhysics SUBDIR += InsightToolkit SUBDIR += PETSc SUBDIR += R-cran-AMORE SUBDIR += R-cran-DCluster SUBDIR += R-cran-Epi SUBDIR += R-cran-FAdist SUBDIR += R-cran-bayesm SUBDIR += R-cran-cmprsk SUBDIR += R-cran-e1071 SUBDIR += R-cran-eco SUBDIR += R-cran-epicalc SUBDIR += R-cran-etm SUBDIR += R-cran-fastICA SUBDIR += R-cran-kernlab SUBDIR += R-cran-ks SUBDIR += R-cran-snow SUBDIR += R-cran-som SUBDIR += R-cran-udunits2 SUBDIR += abinit SUBDIR += afni SUBDIR += agrum SUBDIR += aircraft-datcom SUBDIR += antioch SUBDIR += apbs SUBDIR += ascent SUBDIR += atompaw SUBDIR += avogadro2 SUBDIR += avogadrolibs SUBDIR += axom SUBDIR += bagel SUBDIR += bddsolve SUBDIR += berkeleygw SUBDIR += bodr SUBDIR += buddy SUBDIR += cantera SUBDIR += cdcl SUBDIR += cdf SUBDIR += cdk SUBDIR += cdo SUBDIR += cgnslib SUBDIR += cgribex SUBDIR += checkmol SUBDIR += chemical-mime-data SUBDIR += chemicalfun SUBDIR += chemps2 SUBDIR += chemtool SUBDIR += chemtool-devel SUBDIR += chimes-calculator SUBDIR += chrono SUBDIR += clhep SUBDIR += clipper SUBDIR += code_saturne SUBDIR += colt SUBDIR += conduit SUBDIR += coordgenlibs SUBDIR += cp2k SUBDIR += cp2k-data SUBDIR += crf++ SUBDIR += csvtk SUBDIR += dakota SUBDIR += dalton SUBDIR += dcl SUBDIR += devisor SUBDIR += dftbplus SUBDIR += dftd4 SUBDIR += dkh SUBDIR += dlib-cpp SUBDIR += drawxtl SUBDIR += dvc SUBDIR += dynare SUBDIR += eccodes SUBDIR += elk SUBDIR += elmerfem SUBDIR += epte SUBDIR += erd SUBDIR += ergo SUBDIR += erkale SUBDIR += erkale-pseudopotentials SUBDIR += fastcap SUBDIR += fasthenry SUBDIR += fastjet SUBDIR += fisicalab SUBDIR += fleur SUBDIR += frontistr SUBDIR += fsom SUBDIR += fvcom SUBDIR += fvcom-mpi SUBDIR += gabedit SUBDIR += gamess-us SUBDIR += gbtolib SUBDIR += gchemutils SUBDIR += gdma SUBDIR += getdp SUBDIR += ghemical SUBDIR += ghmm SUBDIR += gnudatalanguage SUBDIR += gpaw-setups SUBDIR += gramps SUBDIR += grib_api SUBDIR += gromacs SUBDIR += gsmc SUBDIR += gtamsanalyzer SUBDIR += h5utils SUBDIR += h5z-zfp SUBDIR += harminv SUBDIR += hdf SUBDIR += hdf5 SUBDIR += hdf5-110 SUBDIR += hdf5-18 SUBDIR += healpix SUBDIR += helfem SUBDIR += hepmc3 SUBDIR += highfive SUBDIR += hypre SUBDIR += iboview SUBDIR += isaac-cfd SUBDIR += jdftx SUBDIR += jmol SUBDIR += jstrack SUBDIR += kalzium SUBDIR += kim-api SUBDIR += kplib SUBDIR += kst2 SUBDIR += lammps SUBDIR += lamprop SUBDIR += latte SUBDIR += libaec SUBDIR += libccp4 SUBDIR += libcint SUBDIR += libctl SUBDIR += libecpint SUBDIR += libefp SUBDIR += libgeodecomp SUBDIR += libgetar SUBDIR += libghemical SUBDIR += libgridxc SUBDIR += libint SUBDIR += libint2 SUBDIR += libkml SUBDIR += liblinear SUBDIR += libmbd SUBDIR += libmsym SUBDIR += libnegf SUBDIR += liboglappth SUBDIR += libquantum SUBDIR += libssm SUBDIR += libsvm SUBDIR += libsvm-python SUBDIR += libtensorflow1 SUBDIR += libvdwxc SUBDIR += libxc SUBDIR += liggghts SUBDIR += linux-zotero SUBDIR += luscus SUBDIR += madness SUBDIR += maeparser SUBDIR += massxpert SUBDIR += mbdyn SUBDIR += mcstas SUBDIR += mcstas-comps SUBDIR += mctc-lib SUBDIR += mcxtrace SUBDIR += mcxtrace-comps SUBDIR += mdynamix SUBDIR += medit SUBDIR += meep SUBDIR += metaphysicl SUBDIR += minc2 SUBDIR += mmdb2 SUBDIR += mmtf-cpp SUBDIR += mol2ps SUBDIR += molgif SUBDIR += molscript SUBDIR += molsketch SUBDIR += mopac SUBDIR += mpb SUBDIR += mpqc SUBDIR += msms SUBDIR += mstore SUBDIR += multicharge SUBDIR += multiwfn SUBDIR += namd SUBDIR += nest SUBDIR += netcdf SUBDIR += netcdf-cxx SUBDIR += netcdf-fortran SUBDIR += nifticlib SUBDIR += nwchem SUBDIR += nwchem-data SUBDIR += octopus SUBDIR += openbabel SUBDIR += openems SUBDIR += openkim SUBDIR += openkim-models SUBDIR += openmc SUBDIR += openmolcas SUBDIR += openmx SUBDIR += opensim-core SUBDIR += opensph SUBDIR += opsin SUBDIR += orthanc SUBDIR += orthanc-dicomweb SUBDIR += orthanc-mysql SUBDIR += orthanc-postgresql SUBDIR += orthanc-webviewer SUBDIR += p5-Algorithm-SVMLight SUBDIR += p5-Chemistry-3DBuilder SUBDIR += p5-Chemistry-Bond-Find SUBDIR += p5-Chemistry-Canonicalize SUBDIR += p5-Chemistry-Elements SUBDIR += p5-Chemistry-File-MDLMol SUBDIR += p5-Chemistry-File-Mopac SUBDIR += p5-Chemistry-File-PDB SUBDIR += p5-Chemistry-File-SLN SUBDIR += p5-Chemistry-File-SMARTS SUBDIR += p5-Chemistry-File-SMILES SUBDIR += p5-Chemistry-File-VRML SUBDIR += p5-Chemistry-File-XYZ SUBDIR += p5-Chemistry-FormulaPattern SUBDIR += p5-Chemistry-InternalCoords SUBDIR += p5-Chemistry-Isotope SUBDIR += p5-Chemistry-MacroMol SUBDIR += p5-Chemistry-MidasPattern SUBDIR += p5-Chemistry-Mok SUBDIR += p5-Chemistry-Mol SUBDIR += p5-Chemistry-Pattern SUBDIR += p5-Chemistry-Reaction SUBDIR += p5-Chemistry-Ring SUBDIR += p5-Geo-BUFR SUBDIR += p5-Geo-Coordinates-Converter SUBDIR += p5-Geo-Coordinates-Converter-iArea SUBDIR += p5-Geo-WebService-Elevation-USGS SUBDIR += p5-Mcstas-Tools SUBDIR += p5-PerlMol SUBDIR += p5-Physics-Unit SUBDIR += packmol SUBDIR += pagmo2 SUBDIR += paje SUBDIR += paraview SUBDIR += pastix SUBDIR += pcmsolver SUBDIR += phonopy SUBDIR += plumed SUBDIR += pnetcdf SUBDIR += precice SUBDIR += pulseview SUBDIR += py-DendroPy SUBDIR += py-GPy SUBDIR += py-GPyOpt SUBDIR += py-MDAnalysis SUBDIR += py-MDAnalysisTests SUBDIR += py-OpenFermion SUBDIR += py-OpenMC SUBDIR += py-PubChemPy SUBDIR += py-PyFR SUBDIR += py-PyNE SUBDIR += py-SimpleSpectral SUBDIR += py-abipy SUBDIR += py-access SUBDIR += py-asap3 SUBDIR += py-asdf SUBDIR += py-asdf-standard SUBDIR += py-asdf-transform-schemas SUBDIR += py-ase SUBDIR += py-avogadrolibs SUBDIR += py-cdo SUBDIR += py-chainer SUBDIR += py-chainer-chemistry SUBDIR += py-chempy SUBDIR += py-cirq-aqt SUBDIR += py-cirq-core SUBDIR += py-cirq-google SUBDIR += py-cirq-ionq SUBDIR += py-cirq-pasqal SUBDIR += py-cirq-rigetti SUBDIR += py-coards SUBDIR += py-dipy SUBDIR += py-dlib SUBDIR += py-eccodes SUBDIR += py-esda SUBDIR += py-fresnel SUBDIR += py-geolinks SUBDIR += py-geomet SUBDIR += py-geometer SUBDIR += py-geometric SUBDIR += py-gpaw SUBDIR += py-gsd SUBDIR += py-h5json SUBDIR += py-h5py SUBDIR += py-hiphive SUBDIR += py-hoomd-blue SUBDIR += py-inequality SUBDIR += py-jupyter_jsmol SUBDIR += py-kim-query SUBDIR += py-kinematics SUBDIR += py-kliff SUBDIR += py-kpLib SUBDIR += py-liac-arff SUBDIR += py-libgetar SUBDIR += py-libpysal SUBDIR += py-lifelines SUBDIR += py-mdp SUBDIR += py-mmtf-python SUBDIR += py-molmod SUBDIR += py-moltemplate SUBDIR += py-netCDF4 SUBDIR += py-netcdf-flattener SUBDIR += py-nibabel SUBDIR += py-nilearn SUBDIR += py-obspy SUBDIR += py-oddt SUBDIR += py-openpiv SUBDIR += py-paida SUBDIR += py-paramz SUBDIR += py-phono3py SUBDIR += py-phonopy SUBDIR += py-pupynere SUBDIR += py-py3Dmol SUBDIR += py-pyaixi SUBDIR += py-pyberny SUBDIR += py-pycsw SUBDIR += py-pydicom SUBDIR += py-pygeodesy SUBDIR += py-pygeometa SUBDIR += py-pygmo2 SUBDIR += py-pyked SUBDIR += py-pymatgen SUBDIR += py-pymbd SUBDIR += py-pymol SUBDIR += py-pyosf SUBDIR += py-pyprecice SUBDIR += py-pysal SUBDIR += py-pyscf SUBDIR += py-pyteomics SUBDIR += py-qcelemental SUBDIR += py-qcengine SUBDIR += py-qspin SUBDIR += py-quantities SUBDIR += py-rmf SUBDIR += py-rmsd SUBDIR += py-ruffus SUBDIR += py-scikit-fuzzy SUBDIR += py-scikit-learn SUBDIR += py-scikit-optimize SUBDIR += py-scikit-sparse SUBDIR += py-scimath SUBDIR += py-scipy SUBDIR += py-scoria SUBDIR += py-segregation SUBDIR += py-segyio SUBDIR += py-sklearn-pandas SUBDIR += py-skrebate SUBDIR += py-spaghetti SUBDIR += py-spglib SUBDIR += py-tensorflow SUBDIR += py-thewalrus SUBDIR += py-tobler SUBDIR += py-trainstation SUBDIR += py-veusz SUBDIR += pybrain SUBDIR += pynn SUBDIR += q SUBDIR += qbox SUBDIR += qcl SUBDIR += qiskit-aer SUBDIR += qmcpack SUBDIR += quantum-espresso SUBDIR += quantum-espresso-pseudopotentials SUBDIR += quantum-jet SUBDIR += qwalk SUBDIR += rdkit SUBDIR += rmf SUBDIR += rubygem-ai4r SUBDIR += rubygem-cdo SUBDIR += rubygem-rgeo SUBDIR += rubygem-rgeo-geojson SUBDIR += rubygem-rgeo-proj4 SUBDIR += rubygem-rgeo-shapefile SUBDIR += rubygem-ruby-dcl SUBDIR += rubygem-ruby-netcdf SUBDIR += scidavis SUBDIR += segyio SUBDIR += shelxle SUBDIR += siconos SUBDIR += siesta SUBDIR += sigrok-cli SUBDIR += sigrok-firmware SUBDIR += sigrok-firmware-fx2lafw SUBDIR += sigrok-firmware-utils SUBDIR += silo SUBDIR += simbody SUBDIR += simgrid SUBDIR += simint SUBDIR += simlib SUBDIR += simple-dftd3 SUBDIR += simsmith SUBDIR += smoldyn SUBDIR += sparta SUBDIR += spglib SUBDIR += step SUBDIR += svmlight SUBDIR += tblite SUBDIR += teem SUBDIR += tfel SUBDIR += tfel-edf SUBDIR += thermofun SUBDIR += tinker SUBDIR += trilinos + SUBDIR += tweedledum SUBDIR += udunits SUBDIR += ukrmol+ SUBDIR += v_sim SUBDIR += vipster SUBDIR += vmd SUBDIR += voro++ SUBDIR += votca SUBDIR += wannier90 SUBDIR += wwplot SUBDIR += wxmacmolplt SUBDIR += xcfun SUBDIR += xcrysden SUBDIR += xdrawchem SUBDIR += xtb SUBDIR += yoda SUBDIR += zotero .include diff --git a/science/tweedledum/Makefile b/science/tweedledum/Makefile new file mode 100644 index 000000000000..ce6bfa4b34fa --- /dev/null +++ b/science/tweedledum/Makefile @@ -0,0 +1,27 @@ +PORTNAME= tweedledum +DISTVERSIONPREFIX= v +DISTVERSION= 1.1.1 +CATEGORIES= science python # quantum-computing + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library for analysis, compilation, synthesis of quantum circuits + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:testing compiler:c++17-lang + +USE_GITHUB= yes +GH_ACCOUNT= boschmitt + +CMAKE_OFF= TWEEDLEDUM_PYBINDS # doesn't affect the build result, see https://github.com/boschmitt/tweedledum/issues/175 +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_TESTING_ON= TWEEDLEDUM_TESTS +CMAKE_TESTING_TARGET= ${ALL_TARGET} # hack to disable the target + +TEST_WRKSRC= ${BUILD_WRKSRC}/tests + +post-test: # run tests, all tests pass with 3313 assertions in 73 test cases, see https://github.com/boschmitt/tweedledum/issues/177 + @cd ${TEST_WRKSRC} && ./run_tests + +.include diff --git a/science/tweedledum/distinfo b/science/tweedledum/distinfo new file mode 100644 index 000000000000..9695e73327fe --- /dev/null +++ b/science/tweedledum/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659924254 +SHA256 (boschmitt-tweedledum-v1.1.1_GH0.tar.gz) = ba1c79808dfae1cf65a06eb6c5aeee4daf9e826386c582b5fea0c5c634f4d15b +SIZE (boschmitt-tweedledum-v1.1.1_GH0.tar.gz) = 5105832 diff --git a/science/tweedledum/pkg-descr b/science/tweedledum/pkg-descr new file mode 100644 index 000000000000..9a92e5f057f8 --- /dev/null +++ b/science/tweedledum/pkg-descr @@ -0,0 +1,6 @@ +tweedledum is a library for synthesis, compilation, and optimization of quantum +circuits. The library is written to be scalable up to problem sizes in which +quantum circuits outperform classical ones. Also, it is meant to be used both +independently and alongside established tools. + +WWW: https://github.com/boschmitt/tweedledum diff --git a/science/tweedledum/pkg-plist b/science/tweedledum/pkg-plist new file mode 100644 index 000000000000..c6e892f0c8f0 --- /dev/null +++ b/science/tweedledum/pkg-plist @@ -0,0 +1,119 @@ +include/tweedledum/Decomposition/BarencoDecomposer.h +include/tweedledum/Decomposition/BridgeDecomposer.h +include/tweedledum/Decomposition/OneQubitDecomposer.h +include/tweedledum/Decomposition/ParityDecomposer.h +include/tweedledum/Generators/adder.h +include/tweedledum/Generators/less_than.h +include/tweedledum/IR/Cbit.h +include/tweedledum/IR/Circuit.h +include/tweedledum/IR/Instruction.h +include/tweedledum/IR/Operator.h +include/tweedledum/IR/OperatorTraits.h +include/tweedledum/IR/Qubit.h +include/tweedledum/IR/WireStorage.h +include/tweedledum/Operators/All.h +include/tweedledum/Operators/Extension.h +include/tweedledum/Operators/Extension/Bridge.h +include/tweedledum/Operators/Extension/Clifford.h +include/tweedledum/Operators/Extension/LogicNetwork.h +include/tweedledum/Operators/Extension/Parity.h +include/tweedledum/Operators/Extension/Permutation.h +include/tweedledum/Operators/Extension/TruthTable.h +include/tweedledum/Operators/Extension/Unitary.h +include/tweedledum/Operators/Ising.h +include/tweedledum/Operators/Ising/Rxx.h +include/tweedledum/Operators/Ising/Ryy.h +include/tweedledum/Operators/Ising/Rzz.h +include/tweedledum/Operators/Meta.h +include/tweedledum/Operators/Meta/Barrier.h +include/tweedledum/Operators/Reversible.h +include/tweedledum/Operators/Standard.h +include/tweedledum/Operators/Standard/H.h +include/tweedledum/Operators/Standard/Measure.h +include/tweedledum/Operators/Standard/P.h +include/tweedledum/Operators/Standard/Rx.h +include/tweedledum/Operators/Standard/Ry.h +include/tweedledum/Operators/Standard/Rz.h +include/tweedledum/Operators/Standard/S.h +include/tweedledum/Operators/Standard/Swap.h +include/tweedledum/Operators/Standard/Sx.h +include/tweedledum/Operators/Standard/T.h +include/tweedledum/Operators/Standard/U.h +include/tweedledum/Operators/Standard/X.h +include/tweedledum/Operators/Standard/Y.h +include/tweedledum/Operators/Standard/Z.h +include/tweedledum/Operators/Utils.h +include/tweedledum/Parser/qasm.h +include/tweedledum/Parser/tfc.h +include/tweedledum/Passes/Analysis.h +include/tweedledum/Passes/Analysis/compute_alap_layers.h +include/tweedledum/Passes/Analysis/compute_asap_layers.h +include/tweedledum/Passes/Analysis/compute_critical_paths.h +include/tweedledum/Passes/Analysis/compute_cuts.h +include/tweedledum/Passes/Analysis/compute_depth.h +include/tweedledum/Passes/Analysis/count_operators.h +include/tweedledum/Passes/Decomposition.h +include/tweedledum/Passes/Decomposition/barenco_decomp.h +include/tweedledum/Passes/Decomposition/bridge_decomp.h +include/tweedledum/Passes/Decomposition/one_qubit_decomp.h +include/tweedledum/Passes/Decomposition/parity_decomp.h +include/tweedledum/Passes/Mapping.h +include/tweedledum/Passes/Mapping/Placer/ApprxSatPlacer.h +include/tweedledum/Passes/Mapping/Placer/LinePlacer.h +include/tweedledum/Passes/Mapping/Placer/RandomPlacer.h +include/tweedledum/Passes/Mapping/Placer/SatPlacer.h +include/tweedledum/Passes/Mapping/Placer/TrivialPlacer.h +include/tweedledum/Passes/Mapping/RePlacer/JitRePlacer.h +include/tweedledum/Passes/Mapping/RePlacer/SabreRePlacer.h +include/tweedledum/Passes/Mapping/Router/BridgeRouter.h +include/tweedledum/Passes/Mapping/Router/JitRouter.h +include/tweedledum/Passes/Mapping/Router/SabreRouter.h +include/tweedledum/Passes/Mapping/bridge_map.h +include/tweedledum/Passes/Mapping/jit_map.h +include/tweedledum/Passes/Mapping/sabre_map.h +include/tweedledum/Passes/Mapping/sat_map.h +include/tweedledum/Passes/Optimization.h +include/tweedledum/Passes/Optimization/gate_cancellation.h +include/tweedledum/Passes/Optimization/linear_resynth.h +include/tweedledum/Passes/Optimization/phase_folding.h +include/tweedledum/Passes/Optimization/steiner_resynth.h +include/tweedledum/Passes/Simulation/simulate_classically.h +include/tweedledum/Passes/Utility.h +include/tweedledum/Passes/Utility/inverse.h +include/tweedledum/Passes/Utility/reverse.h +include/tweedledum/Passes/Utility/shallow_duplicate.h +include/tweedledum/Synthesis/Synthesis.h +include/tweedledum/Synthesis/a_star_swap_synth.h +include/tweedledum/Synthesis/all_linear_synth.h +include/tweedledum/Synthesis/cx_dihedral_synth.h +include/tweedledum/Synthesis/decomp_synth.h +include/tweedledum/Synthesis/diagonal_synth.h +include/tweedledum/Synthesis/gray_synth.h +include/tweedledum/Synthesis/lhrs_synth.h +include/tweedledum/Synthesis/linear_synth.h +include/tweedledum/Synthesis/pkrm_synth.h +include/tweedledum/Synthesis/pprm_synth.h +include/tweedledum/Synthesis/sat_swap_synth.h +include/tweedledum/Synthesis/spectrum_synth.h +include/tweedledum/Synthesis/steiner_gauss_synth.h +include/tweedledum/Synthesis/transform_synth.h +include/tweedledum/Synthesis/xag_synth.h +include/tweedledum/Target/Device.h +include/tweedledum/Target/Mapping.h +include/tweedledum/Target/Placement.h +include/tweedledum/Utils/Allocators.h +include/tweedledum/Utils/Classical/xag_optimize.h +include/tweedledum/Utils/Classical/xag_simulate.h +include/tweedledum/Utils/Classical/xag_stats.h +include/tweedledum/Utils/Cut.h +include/tweedledum/Utils/DynamicBitset.h +include/tweedledum/Utils/Hash.h +include/tweedledum/Utils/Intrinsics.h +include/tweedledum/Utils/LinPhasePoly.h +include/tweedledum/Utils/Matrix.h +include/tweedledum/Utils/Numbers.h +include/tweedledum/Utils/SmallVector.h +include/tweedledum/Utils/Source.h +include/tweedledum/Utils/SourceManager.h +include/tweedledum/Utils/Visualization/string_utf8.h +lib/libtweedledum.so