diff --git a/science/Makefile b/science/Makefile index 0981b0aa016a..93c7e6994ad9 100644 --- a/science/Makefile +++ b/science/Makefile @@ -1,367 +1,370 @@ COMMENT = Scientific ports SUBDIR += 2d-rewriter SUBDIR += ALPSCore 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-snow SUBDIR += R-cran-som SUBDIR += R-cran-udunits2 SUBDIR += abinit SUBDIR += afni SUBDIR += agrum SUBDIR += aircraft-datcom SUBDIR += antioch SUBDIR += apbs SUBDIR += atompaw SUBDIR += avogadro2 SUBDIR += avogadrolibs SUBDIR += axom SUBDIR += bagel SUBDIR += bddsolve SUBDIR += berkeleygw SUBDIR += bodr SUBDIR += buddy SUBDIR += cdcl SUBDIR += cdf SUBDIR += cdk SUBDIR += cdo SUBDIR += cgnslib SUBDIR += cgribex SUBDIR += checkmol SUBDIR += chemical-mime-data SUBDIR += chemps2 SUBDIR += chemtool SUBDIR += chemtool-devel 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 += dkh SUBDIR += dlib-cpp SUBDIR += drawxtl SUBDIR += dvc 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 += frontistr SUBDIR += fsom SUBDIR += fvcom SUBDIR += fvcom-mpi SUBDIR += gabedit SUBDIR += gamess-us 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-18 SUBDIR += healpix SUBDIR += hepmc3 SUBDIR += highfive SUBDIR += hypre SUBDIR += iboview SUBDIR += isaac-cfd SUBDIR += jdftx SUBDIR += jmol SUBDIR += jstrack SUBDIR += kalzium SUBDIR += kim-api SUBDIR += kst2 SUBDIR += lammps SUBDIR += lamprop SUBDIR += latte SUBDIR += libaec SUBDIR += libccp4 SUBDIR += libcint SUBDIR += libctl SUBDIR += libecpint SUBDIR += libefp SUBDIR += libgeodecomp SUBDIR += libghemical SUBDIR += libgridxc SUBDIR += libint SUBDIR += libint2 SUBDIR += libkml SUBDIR += liblinear SUBDIR += libmsym SUBDIR += liboglappth SUBDIR += libquantum SUBDIR += libssm SUBDIR += libsvm SUBDIR += libsvm-python SUBDIR += libvdwxc SUBDIR += libxc SUBDIR += liggghts SUBDIR += luscus SUBDIR += madness SUBDIR += maeparser SUBDIR += massxpert SUBDIR += mbdyn SUBDIR += mcstas SUBDIR += mcstas-comps SUBDIR += mcxtrace SUBDIR += mcxtrace-comps SUBDIR += mdynamix SUBDIR += medit SUBDIR += metaphysicl SUBDIR += minc2 SUBDIR += mmdb2 SUBDIR += mmtf-cpp SUBDIR += mol2ps SUBDIR += molgif SUBDIR += molscript SUBDIR += molsketch SUBDIR += mpb SUBDIR += mpqc SUBDIR += msms 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 += openkim SUBDIR += openkim-models SUBDIR += opensim-core SUBDIR += opensph SUBDIR += opsin SUBDIR += orthanc 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 += pcmsolver SUBDIR += plumed SUBDIR += pnetcdf SUBDIR += pulseview SUBDIR += py-DendroPy SUBDIR += py-GPy SUBDIR += py-GPyOpt SUBDIR += py-MDAnalysis SUBDIR += py-MDAnalysisTests SUBDIR += py-OpenFermion SUBDIR += py-PubChemPy SUBDIR += py-PyFR SUBDIR += py-SimpleSpectral SUBDIR += py-abipy SUBDIR += py-access SUBDIR += py-asdf 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-coards SUBDIR += py-dipy SUBDIR += py-dlib SUBDIR += py-eccodes SUBDIR += py-esda 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-inequality SUBDIR += py-jupyter_jsmol SUBDIR += py-kim-query SUBDIR += py-kinematics SUBDIR += py-kliff SUBDIR += py-liac-arff 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-pyaixi SUBDIR += py-pycsw SUBDIR += py-pydicom SUBDIR += py-pygeodesy SUBDIR += py-pygeometa SUBDIR += py-pygmo2 SUBDIR += py-pymatgen SUBDIR += py-pymol SUBDIR += py-pyosf 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-skrebate SUBDIR += py-spaghetti SUBDIR += py-spglib SUBDIR += py-tensorflow SUBDIR += py-tobler SUBDIR += py-veusz SUBDIR += pybrain SUBDIR += pynn SUBDIR += qbox SUBDIR += qcl SUBDIR += qiskit-aer SUBDIR += qmcpack SUBDIR += quantum-espresso SUBDIR += quantum-espresso-pseudopotentials 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 += 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 += simsmith SUBDIR += smoldyn SUBDIR += sparta SUBDIR += spglib SUBDIR += step SUBDIR += svmlight SUBDIR += szip SUBDIR += teem SUBDIR += tfel SUBDIR += tfel-edf SUBDIR += thermofun SUBDIR += tinker SUBDIR += udunits 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 .include diff --git a/science/py-cirq-aqt/Makefile b/science/py-cirq-aqt/Makefile new file mode 100644 index 000000000000..c2c3ec7e7ff4 --- /dev/null +++ b/science/py-cirq-aqt/Makefile @@ -0,0 +1,28 @@ +PORTNAME= cirq-aqt +DISTVERSIONPREFIX= v +DISTVERSION= 0.11.1.20210726 +CATEGORIES= science python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Cirq module to run on AQT quantum computers + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cirq-core>0:science/py-cirq-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} + +USES= python:3.8+ +USE_PYTHON= distutils autoplist + +USE_GITHUB= yes +GH_ACCOUNT= quantumlib +GH_PROJECT= Cirq +GH_TAGNAME= 0f9fa3f + +WRKSRC_SUBDIR= cirq-aqt + +NO_ARCH= yes + +.include diff --git a/science/py-cirq-aqt/distinfo b/science/py-cirq-aqt/distinfo new file mode 100644 index 000000000000..c6a8436b9ae7 --- /dev/null +++ b/science/py-cirq-aqt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1627445045 +SHA256 (quantumlib-Cirq-v0.11.1.20210726-0f9fa3f_GH0.tar.gz) = 66893a0e37bbef79de4ee5e4d020327bd1994aa329c03baf28027706e0af308a +SIZE (quantumlib-Cirq-v0.11.1.20210726-0f9fa3f_GH0.tar.gz) = 7204025 diff --git a/science/py-cirq-aqt/files/example.py b/science/py-cirq-aqt/files/example.py new file mode 100644 index 000000000000..d93432d5d3bf --- /dev/null +++ b/science/py-cirq-aqt/files/example.py @@ -0,0 +1,18 @@ +import cirq + +# Pick a qubit. +qubit = cirq.GridQubit(0, 0) + +# Create a circuit +circuit = cirq.Circuit( + cirq.X(qubit)**0.5, # Square root of NOT. + cirq.measure(qubit, key='m') # Measurement. +) +print("Circuit:") +print(circuit) + +# Simulate the circuit several times. +simulator = cirq.Simulator() +result = simulator.run(circuit, repetitions=20) +print("Results:") +print(result) diff --git a/science/py-cirq-aqt/pkg-descr b/science/py-cirq-aqt/pkg-descr new file mode 100644 index 000000000000..7526d4dc215d --- /dev/null +++ b/science/py-cirq-aqt/pkg-descr @@ -0,0 +1,4 @@ +cirq-ionq provides everything you'll need to run Cirq quantum algorithms on AQT +quantum computers. + +WWW: https://github.com/quantumlib/cirq diff --git a/science/py-cirq-ionq/Makefile b/science/py-cirq-ionq/Makefile new file mode 100644 index 000000000000..96e7a02b2abf --- /dev/null +++ b/science/py-cirq-ionq/Makefile @@ -0,0 +1,27 @@ +PORTNAME= cirq-ionq +DISTVERSIONPREFIX= v +DISTVERSION= 0.11.1.20210726 +CATEGORIES= science python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Cirq module to run on IonQ quantum computers + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cirq-core>0:science/py-cirq-core@${PY_FLAVOR} + +USES= python:3.8+ +USE_PYTHON= distutils autoplist + +USE_GITHUB= yes +GH_ACCOUNT= quantumlib +GH_PROJECT= Cirq +GH_TAGNAME= 0f9fa3f + +WRKSRC_SUBDIR= cirq-ionq + +NO_ARCH= yes + +.include diff --git a/science/py-cirq-ionq/distinfo b/science/py-cirq-ionq/distinfo new file mode 100644 index 000000000000..c6a8436b9ae7 --- /dev/null +++ b/science/py-cirq-ionq/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1627445045 +SHA256 (quantumlib-Cirq-v0.11.1.20210726-0f9fa3f_GH0.tar.gz) = 66893a0e37bbef79de4ee5e4d020327bd1994aa329c03baf28027706e0af308a +SIZE (quantumlib-Cirq-v0.11.1.20210726-0f9fa3f_GH0.tar.gz) = 7204025 diff --git a/science/py-cirq-ionq/files/example.py b/science/py-cirq-ionq/files/example.py new file mode 100644 index 000000000000..d93432d5d3bf --- /dev/null +++ b/science/py-cirq-ionq/files/example.py @@ -0,0 +1,18 @@ +import cirq + +# Pick a qubit. +qubit = cirq.GridQubit(0, 0) + +# Create a circuit +circuit = cirq.Circuit( + cirq.X(qubit)**0.5, # Square root of NOT. + cirq.measure(qubit, key='m') # Measurement. +) +print("Circuit:") +print(circuit) + +# Simulate the circuit several times. +simulator = cirq.Simulator() +result = simulator.run(circuit, repetitions=20) +print("Results:") +print(result) diff --git a/science/py-cirq-ionq/pkg-descr b/science/py-cirq-ionq/pkg-descr new file mode 100644 index 000000000000..17194c8eae66 --- /dev/null +++ b/science/py-cirq-ionq/pkg-descr @@ -0,0 +1,4 @@ +cirq-ionq provides everything you'll need to run Cirq quantum algorithms on IonQ +quantum computers. + +WWW: https://github.com/quantumlib/cirq diff --git a/science/py-cirq-pasqal/Makefile b/science/py-cirq-pasqal/Makefile new file mode 100644 index 000000000000..21cc294fd31e --- /dev/null +++ b/science/py-cirq-pasqal/Makefile @@ -0,0 +1,27 @@ +PORTNAME= cirq-pasqal +DISTVERSIONPREFIX= v +DISTVERSION= 0.11.1.20210726 +CATEGORIES= science python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Cirq module to run on pasqal quantum computers + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cirq-core>0:science/py-cirq-core@${PY_FLAVOR} + +USES= python:3.8+ +USE_PYTHON= distutils autoplist + +USE_GITHUB= yes +GH_ACCOUNT= quantumlib +GH_PROJECT= Cirq +GH_TAGNAME= 0f9fa3f + +WRKSRC_SUBDIR= cirq-pasqal + +NO_ARCH= yes + +.include diff --git a/science/py-cirq-pasqal/distinfo b/science/py-cirq-pasqal/distinfo new file mode 100644 index 000000000000..c6a8436b9ae7 --- /dev/null +++ b/science/py-cirq-pasqal/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1627445045 +SHA256 (quantumlib-Cirq-v0.11.1.20210726-0f9fa3f_GH0.tar.gz) = 66893a0e37bbef79de4ee5e4d020327bd1994aa329c03baf28027706e0af308a +SIZE (quantumlib-Cirq-v0.11.1.20210726-0f9fa3f_GH0.tar.gz) = 7204025 diff --git a/science/py-cirq-pasqal/files/example.py b/science/py-cirq-pasqal/files/example.py new file mode 100644 index 000000000000..d93432d5d3bf --- /dev/null +++ b/science/py-cirq-pasqal/files/example.py @@ -0,0 +1,18 @@ +import cirq + +# Pick a qubit. +qubit = cirq.GridQubit(0, 0) + +# Create a circuit +circuit = cirq.Circuit( + cirq.X(qubit)**0.5, # Square root of NOT. + cirq.measure(qubit, key='m') # Measurement. +) +print("Circuit:") +print(circuit) + +# Simulate the circuit several times. +simulator = cirq.Simulator() +result = simulator.run(circuit, repetitions=20) +print("Results:") +print(result) diff --git a/science/py-cirq-pasqal/pkg-descr b/science/py-cirq-pasqal/pkg-descr new file mode 100644 index 000000000000..d9b16745890d --- /dev/null +++ b/science/py-cirq-pasqal/pkg-descr @@ -0,0 +1,4 @@ +cirq-ionq provides everything you'll need to run Cirq quantum algorithms on +pasqal quantum computers. + +WWW: https://github.com/quantumlib/cirq