{
  "_id": "6a10188aacfb0bcc41c85744",
  "Package": "QuantumOps",
  "Title": "Performs Common Linear Algebra Operations Used in Quantum\nComputing and Implements Quantum Algorithms",
  "Version": "3.0.1",
  "Date": "2020-02-01",
  "Author": "Salonik Resch",
  "Maintainer": "Salonik Resch <resc0059@umn.edu>",
  "Description": "Contains basic structures and operations used frequently\nin quantum computing. Intended to be a convenient tool to help\nlearn quantum mechanics and algorithms. Can create arbitrarily\nsized kets and bras and implements quantum gates, inner\nproducts, and tensor products. Creates arbitrarily controlled\nversions of all gates and can simulate complete or partial\nmeasurements of kets. Has functionality to convert functions\ninto equivalent quantum gates and model quantum noise. Includes\nlarger applications, such as Steane error correction\n<DOI:10.1103/physrevlett.77.793>, Quantum Fourier Transform and\nShor's algorithm (Shor 1999), Grover's algorithm (1996),\nQuantum Approximation Optimization Algorithm (QAOA) (Farhi,\nGoldstone, and Gutmann 2014) <arXiv:1411.4028>, and a\nvariational quantum classifier (Schuld 2018)\n<arXiv:1804.00633>. Can be used with the gridsynth algorithm\n<arXiv:1212.6253> to perform decomposition into the Clifford+T\nset.",
  "License": "GPL-3",
  "RoxygenNote": "5.0.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 19:40:47 UTC",
    "User": "root"
  },
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-05-14 12:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/QuantumOps",
  "RemoteSha": "110073fc7f80711a8691ba807ca7c8badb44c993",
  "RemoteSubdir": "QuantumOps",
  "MD5sum": "713d11d62dc98e2b6cec141c2d1106f0",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "QuantumOps_3.0.1.tar.gz",
  "_fileid": "1f5519f89e792f1f0fcc1467c3dbde4d21d70d1d201d5978ec7fdb1e1736f75b",
  "_filesize": 251241,
  "_sha256": "1f5519f89e792f1f0fcc1467c3dbde4d21d70d1d201d5978ec7fdb1e1736f75b",
  "_created": "2026-05-14T19:40:47.000Z",
  "_published": "2026-05-22T08:49:14.370Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77346868277,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7003229355"
    },
    {
      "job": 77346868049,
      "time": 97,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7003221653"
    },
    {
      "job": 77346868050,
      "time": 131,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7003434222"
    },
    {
      "job": 77346868059,
      "time": 67,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7003412799"
    },
    {
      "job": 77346868114,
      "time": 185,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7003187385"
    },
    {
      "job": 77346867543,
      "time": 79,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156525699"
    },
    {
      "job": 77346868107,
      "time": 86,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7003218174"
    },
    {
      "job": 77346868405,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7003229616"
    },
    {
      "job": 77346868046,
      "time": 78,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7003214931"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881336337",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "110073fc7f80711a8691ba807ca7c8badb44c993",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add QuantumOps to CRANhaven, because archived on 2026-05-14 12:02:00 +0000\n",
    "time": 1778760120
  },
  "_maintainer": {
    "name": "Salonik Resch",
    "email": "resc0059@umn.edu",
    "login": "resc0059",
    "uuid": 5797235
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1.0",
      "role": "Depends"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 163,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/QuantumOps"
  },
  "_devurl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_searchresults": 54,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/QuantumOps.html",
    "manual.pdf"
  ],
  "_realowner": "resc0059",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2018-11-19"
    },
    {
      "version": "2.0",
      "date": "2018-12-15"
    },
    {
      "version": "2.1",
      "date": "2019-01-10"
    },
    {
      "version": "2.2",
      "date": "2019-01-17"
    },
    {
      "version": "2.3",
      "date": "2019-01-30"
    },
    {
      "version": "2.4",
      "date": "2019-02-15"
    },
    {
      "version": "2.5",
      "date": "2019-03-16"
    },
    {
      "version": "2.5.1",
      "date": "2019-04-09"
    },
    {
      "version": "2.5.2",
      "date": "2019-05-06"
    },
    {
      "version": "2.5.3",
      "date": "2019-08-30"
    },
    {
      "version": "3.0.0",
      "date": "2019-12-14"
    },
    {
      "version": "3.0.1",
      "date": "2020-02-03"
    }
  ],
  "_exports": [
    "addmod2",
    "adjoint",
    "AmplitudeDamping",
    "BELL",
    "bra",
    "CFA",
    "checkCases",
    "cntrld",
    "CoherentNoise",
    "colv",
    "compareQuantumState",
    "controlled",
    "convert_bin2dec",
    "convert_dec2bin",
    "convert_ket2DM",
    "CX",
    "CY",
    "CZ",
    "DecomposeGate",
    "dirac",
    "dist",
    "dotmod2",
    "exponentialMod",
    "extractMNIST",
    "FullAdder",
    "G",
    "gcd",
    "GroverDiffusion",
    "GroverOracle",
    "GroversAlgorithm",
    "H",
    "hermitian",
    "I",
    "inner",
    "intket",
    "ket",
    "many",
    "measure",
    "mm",
    "nBitAddition",
    "norm",
    "opDM",
    "PauliNoise",
    "PauliOperators",
    "PhaseDamping",
    "plotprobs",
    "pp",
    "probs",
    "QAOA",
    "QAOA_example",
    "QAOA_maxcut",
    "QFT",
    "QuantumClassifier",
    "QuantumMNIST256Classifier",
    "R",
    "randomConnectionMatrix",
    "RandomizeCompile",
    "ranket",
    "reduceMeasure",
    "repeatTensor",
    "Rx",
    "Ry",
    "Rz",
    "S",
    "Shor",
    "single",
    "singleSWAP",
    "Steane",
    "SteaneCorrect",
    "SWAP",
    "swapTest",
    "SynthesizeCircuit",
    "T",
    "teleport",
    "tensor",
    "testGate",
    "TOFFOLI",
    "U",
    "Uf",
    "unitary",
    "X",
    "Y",
    "Z"
  ],
  "_help": [
    {
      "page": "addmod2",
      "title": "addmod2",
      "topics": [
        "addmod2"
      ]
    },
    {
      "page": "adjoint",
      "title": "adjoint",
      "topics": [
        "adjoint"
      ]
    },
    {
      "page": "AmplitudeDamping",
      "title": "AmplitudeDamping",
      "topics": [
        "AmplitudeDamping"
      ]
    },
    {
      "page": "BELL",
      "title": "BELL",
      "topics": [
        "BELL"
      ]
    },
    {
      "page": "bra",
      "title": "bra",
      "topics": [
        "bra"
      ]
    },
    {
      "page": "CFA",
      "title": "CFA",
      "topics": [
        "CFA"
      ]
    },
    {
      "page": "checkCases",
      "title": "checkCases",
      "topics": [
        "checkCases"
      ]
    },
    {
      "page": "cntrld",
      "title": "cntrld",
      "topics": [
        "cntrld"
      ]
    },
    {
      "page": "CoherentNoise",
      "title": "CoherentNoise",
      "topics": [
        "CoherentNoise"
      ]
    },
    {
      "page": "colv",
      "title": "colv",
      "topics": [
        "colv"
      ]
    },
    {
      "page": "compareQuantumState",
      "title": "compareQuantumState",
      "topics": [
        "compareQuantumState"
      ]
    },
    {
      "page": "controlled",
      "title": "controlled",
      "topics": [
        "controlled"
      ]
    },
    {
      "page": "convert_bin2dec",
      "title": "convert_bin2dec",
      "topics": [
        "convert_bin2dec"
      ]
    },
    {
      "page": "convert_dec2bin",
      "title": "convert_dec2bin",
      "topics": [
        "convert_dec2bin"
      ]
    },
    {
      "page": "convert_ket2DM",
      "title": "convert_ket2DM",
      "topics": [
        "convert_ket2DM"
      ]
    },
    {
      "page": "CX",
      "title": "CX",
      "topics": [
        "CX"
      ]
    },
    {
      "page": "CY",
      "title": "CY",
      "topics": [
        "CY"
      ]
    },
    {
      "page": "CZ",
      "title": "CZ",
      "topics": [
        "CZ"
      ]
    },
    {
      "page": "DecomposeGate",
      "title": "DecomposeGate",
      "topics": [
        "DecomposeGate"
      ]
    },
    {
      "page": "dirac",
      "title": "dirac",
      "topics": [
        "dirac"
      ]
    },
    {
      "page": "dist",
      "title": "dist",
      "topics": [
        "dist"
      ]
    },
    {
      "page": "dotmod2",
      "title": "dotmod2",
      "topics": [
        "dotmod2"
      ]
    },
    {
      "page": "exponentialMod",
      "title": "exponentialMod",
      "topics": [
        "exponentialMod"
      ]
    },
    {
      "page": "extractMNIST",
      "title": "extractMNIST",
      "topics": [
        "extractMNIST"
      ]
    },
    {
      "page": "FullAdder",
      "title": "FullAdder",
      "topics": [
        "FullAdder"
      ]
    },
    {
      "page": "G",
      "title": "G",
      "topics": [
        "G"
      ]
    },
    {
      "page": "gcd",
      "title": "gcd",
      "topics": [
        "gcd"
      ]
    },
    {
      "page": "GroverDiffusion",
      "title": "GroverDiffusion",
      "topics": [
        "GroverDiffusion"
      ]
    },
    {
      "page": "GroverOracle",
      "title": "GroverOracle",
      "topics": [
        "GroverOracle"
      ]
    },
    {
      "page": "GroversAlgorithm",
      "title": "GroversAlgorithm",
      "topics": [
        "GroversAlgorithm"
      ]
    },
    {
      "page": "H",
      "title": "H",
      "topics": [
        "H"
      ]
    },
    {
      "page": "hermitian",
      "title": "hermitian",
      "topics": [
        "hermitian"
      ]
    },
    {
      "page": "I",
      "title": "I",
      "topics": [
        "I"
      ]
    },
    {
      "page": "inner",
      "title": "inner",
      "topics": [
        "inner"
      ]
    },
    {
      "page": "intket",
      "title": "intket",
      "topics": [
        "intket"
      ]
    },
    {
      "page": "ket",
      "title": "ket",
      "topics": [
        "ket"
      ]
    },
    {
      "page": "many",
      "title": "many",
      "topics": [
        "many"
      ]
    },
    {
      "page": "measure",
      "title": "measure",
      "topics": [
        "measure"
      ]
    },
    {
      "page": "mm",
      "title": "mm",
      "topics": [
        "mm"
      ]
    },
    {
      "page": "nBitAddition",
      "title": "nBitAddition",
      "topics": [
        "nBitAddition"
      ]
    },
    {
      "page": "norm",
      "title": "norm",
      "topics": [
        "norm"
      ]
    },
    {
      "page": "opDM",
      "title": "opDM",
      "topics": [
        "opDM"
      ]
    },
    {
      "page": "PauliNoise",
      "title": "PauliNoise",
      "topics": [
        "PauliNoise"
      ]
    },
    {
      "page": "PauliOperators",
      "title": "PauliOperators",
      "topics": [
        "PauliOperators"
      ]
    },
    {
      "page": "PhaseDamping",
      "title": "PhaseDamping",
      "topics": [
        "PhaseDamping"
      ]
    },
    {
      "page": "plotprobs",
      "title": "plotprobs",
      "topics": [
        "plotprobs"
      ]
    },
    {
      "page": "pp",
      "title": "pp",
      "topics": [
        "pp"
      ]
    },
    {
      "page": "probs",
      "title": "probs",
      "topics": [
        "probs"
      ]
    },
    {
      "page": "QAOA",
      "title": "QAOA",
      "topics": [
        "QAOA"
      ]
    },
    {
      "page": "QAOA_example",
      "title": "QAOA_example",
      "topics": [
        "QAOA_example"
      ]
    },
    {
      "page": "QAOA_maxcut",
      "title": "QAOA_maxcut",
      "topics": [
        "QAOA_maxcut"
      ]
    },
    {
      "page": "QFT",
      "title": "QFT",
      "topics": [
        "QFT"
      ]
    },
    {
      "page": "QuantumClassifier",
      "title": "QuantumClassifier",
      "topics": [
        "QuantumClassifier"
      ]
    },
    {
      "page": "QuantumMNIST256Classifier",
      "title": "QuantumMNIST256Classifier",
      "topics": [
        "QuantumMNIST256Classifier"
      ]
    },
    {
      "page": "R",
      "title": "R",
      "topics": [
        "R"
      ]
    },
    {
      "page": "randomConnectionMatrix",
      "title": "randomConnectionMatrix",
      "topics": [
        "randomConnectionMatrix"
      ]
    },
    {
      "page": "RandomizeCompile",
      "title": "RandomizeCompile",
      "topics": [
        "RandomizeCompile"
      ]
    },
    {
      "page": "ranket",
      "title": "ranket",
      "topics": [
        "ranket"
      ]
    },
    {
      "page": "reduceMeasure",
      "title": "reduceMeasure",
      "topics": [
        "reduceMeasure"
      ]
    },
    {
      "page": "repeatTensor",
      "title": "repeatTensor",
      "topics": [
        "repeatTensor"
      ]
    },
    {
      "page": "Rx",
      "title": "Rx",
      "topics": [
        "Rx"
      ]
    },
    {
      "page": "Ry",
      "title": "Ry",
      "topics": [
        "Ry"
      ]
    },
    {
      "page": "Rz",
      "title": "Rz",
      "topics": [
        "Rz"
      ]
    },
    {
      "page": "S",
      "title": "S",
      "topics": [
        "S"
      ]
    },
    {
      "page": "Shor",
      "title": "Shor",
      "topics": [
        "Shor"
      ]
    },
    {
      "page": "single",
      "title": "single",
      "topics": [
        "single"
      ]
    },
    {
      "page": "singleSWAP",
      "title": "singleSWAP",
      "topics": [
        "singleSWAP"
      ]
    },
    {
      "page": "Steane",
      "title": "Steane",
      "topics": [
        "Steane"
      ]
    },
    {
      "page": "SteaneCorrect",
      "title": "SteaneCorrect",
      "topics": [
        "SteaneCorrect"
      ]
    },
    {
      "page": "SWAP",
      "title": "SWAP",
      "topics": [
        "SWAP"
      ]
    },
    {
      "page": "swapTest",
      "title": "swapTest",
      "topics": [
        "swapTest"
      ]
    },
    {
      "page": "SynthesizeCircuit",
      "title": "SynthesizeCircuit",
      "topics": [
        "SynthesizeCircuit"
      ]
    },
    {
      "page": "T",
      "title": "T",
      "topics": [
        "T"
      ]
    },
    {
      "page": "teleport",
      "title": "teleport",
      "topics": [
        "teleport"
      ]
    },
    {
      "page": "tensor",
      "title": "tensor",
      "topics": [
        "tensor"
      ]
    },
    {
      "page": "testGate",
      "title": "testGate",
      "topics": [
        "testGate"
      ]
    },
    {
      "page": "TOFFOLI",
      "title": "TOFFOLI",
      "topics": [
        "TOFFOLI"
      ]
    },
    {
      "page": "U",
      "title": "U",
      "topics": [
        "U"
      ]
    },
    {
      "page": "Uf",
      "title": "Uf",
      "topics": [
        "Uf"
      ]
    },
    {
      "page": "unitary",
      "title": "unitary",
      "topics": [
        "unitary"
      ]
    },
    {
      "page": "X",
      "title": "X",
      "topics": [
        "X"
      ]
    },
    {
      "page": "Y",
      "title": "Y",
      "topics": [
        "Y"
      ]
    },
    {
      "page": "Z",
      "title": "Z",
      "topics": [
        "Z"
      ]
    }
  ],
  "_rundeps": [],
  "_score": 2.4313637641589874,
  "_indexed": false,
  "_nocasepkg": "quantumops",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://resc0059.r-universe.dev/QuantumOps",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.1",
      "date": "2026-05-14T19:42:55.000Z",
      "distro": "noble",
      "commit": "110073fc7f80711a8691ba807ca7c8badb44c993",
      "fileid": "4fa33dc39c95b051c2594ea806680daa6ac5aac41ce535bbf86e9063476d20a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881336337"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.0.1",
      "date": "2026-05-14T19:42:30.000Z",
      "distro": "noble",
      "commit": "110073fc7f80711a8691ba807ca7c8badb44c993",
      "fileid": "634e6e1a1d5a13ff159186d3dedafe26f849aaea9d6a0eef0f2ba3a054e74de8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881336337"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0.1",
      "date": "2026-05-14T19:53:25.000Z",
      "commit": "110073fc7f80711a8691ba807ca7c8badb44c993",
      "fileid": "deadf64f9ca3aa399340c6f8d2c2203a9d07f9a33b3a5f0dd71b739af1e3c7bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881336337"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.0.1",
      "date": "2026-05-14T19:52:27.000Z",
      "commit": "110073fc7f80711a8691ba807ca7c8badb44c993",
      "fileid": "fc12febfc76c61875290289abfcb4198b65a2de6fa9268de19794c46cedc41d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881336337"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.0.1",
      "date": "2026-05-14T19:42:08.000Z",
      "commit": "110073fc7f80711a8691ba807ca7c8badb44c993",
      "fileid": "d5874656e7d586e602e4e7085044d64a5e2a7e981f6bf057c7c5aee03340d3c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881336337"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.0.1",
      "date": "2026-05-14T19:42:46.000Z",
      "commit": "110073fc7f80711a8691ba807ca7c8badb44c993",
      "fileid": "ddf8239c15b2f21ffc35734af4f695bd2f451927bb9fd5a6066a31af02605999",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881336337"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "3.0.1",
      "date": "2026-05-14T19:42:03.000Z",
      "commit": "110073fc7f80711a8691ba807ca7c8badb44c993",
      "fileid": "01f769b724449135cece0cc42854b99baaf217574323adbeff546d837279ad6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881336337"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.0.1",
      "date": "2026-05-22T08:49:01.000Z",
      "commit": "110073fc7f80711a8691ba807ca7c8badb44c993",
      "fileid": "c5289beae2e1eb1e24d2d09b396578a19c74fc6b9175aadb6f9e9102238d2bc4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25881336337"
    }
  ]
}