{
  "_id": "6ada64ff2ccc51e6c64e507d",
  "Package": "QGA",
  "Type": "Package",
  "Title": "Quantum Genetic Algorithm",
  "Version": "1.1",
  "Date": "2024-09-23",
  "Authors@R": "c(person(\"Giulio\", \"Barcaroli\", role = c(\"aut\", \"cre\"),\nemail = \"gbarcaroli@gmail.com\"))",
  "Description": "Function that implements the Quantum Genetic Algorithm,\nfirst proposed by Han and Kim in 2000. This is an R\nimplementation of the 'python' application developed by\nLahoz-Beltra\n(<https://github.com/ResearchCodesHub/QuantumGeneticAlgorithms>).\nEach optimization problem is represented as a maximization one,\nwhere each solution is a sequence of (qu)bits. Following the\nquantum paradigm, these qubits are in a superposition state:\nwhen measuring them, they collapse in a 0 or 1 state. After\nmeasurement, the fitness of the solution is calculated as in\nusual genetic algorithms. The evolution at each iteration is\noriented by the application of two quantum gates to the\namplitudes of the qubits: (1) a rotation gate (always); (2) a\nPauli-X gate (optionally). The rotation is based on the theta\nangle values: higher values allow a quicker evolution, and\nlower values avoid local maxima. The Pauli-X gate is equivalent\nto the classical mutation operator and determines the swap\nbetween alfa and beta amplitudes of a given qubit. The package\nhas been developed in such a way as to permit a complete\nseparation between the engine, and the particular problem\nsubject to combinatorial optimization.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-22 19:30:09 UTC",
    "User": "root"
  },
  "URL": "https://barcaroli.github.io/QGA/,\nhttps://github.com/barcaroli/QGA/",
  "BugReports": "https://github.com/barcaroli/QGA/issues",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Repository": "https://barcaroli.r-universe.dev",
  "Date/Publication": "2026-10-22 17:57:34 UTC",
  "RemoteUrl": "https://github.com/barcaroli/qga",
  "RemoteRef": "HEAD",
  "RemoteSha": "216090be24b61e9fe4088822abe76a1e01f39b5e",
  "Author": "Giulio Barcaroli [aut, cre]",
  "Maintainer": "Giulio Barcaroli <gbarcaroli@gmail.com>",
  "_user": "barcaroli",
  "_type": "src",
  "_file": "QGA_1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/4496b529bee572beeecc0a28149d235166a004a9cd657b978a352f05939ff9d6",
  "_filesize": 626548,
  "_sha256": "4496b529bee572beeecc0a28149d235166a004a9cd657b978a352f05939ff9d6",
  "_expires": "2027-01-30T19:33:16.000Z",
  "_created": "2026-10-22T19:30:09.000Z",
  "_published": "2026-10-22T19:33:18.936Z",
  "_upstream": "https://github.com/barcaroli/qga",
  "_status": "failure",
  "_maintainer": {
    "name": "Giulio Barcaroli",
    "email": "gbarcaroli@gmail.com",
    "login": "barcaroli",
    "twitter": "@gbarcaroli",
    "description": "",
    "uuid": 5859179
  },
  "_jobs": [
    {
      "job": 120040591086,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12452822905"
    },
    {
      "job": 120040591023,
      "time": 143,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12452898532"
    },
    {
      "job": 120040591029,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12453435957"
    },
    {
      "job": 120040591040,
      "time": 92,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12451499695"
    },
    {
      "job": 120039003223,
      "time": 171,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12452419310"
    },
    {
      "job": 120040591117,
      "time": 82,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12452733006"
    },
    {
      "job": 120040591159,
      "time": 63,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12451404926"
    },
    {
      "job": 120040591260,
      "time": 62,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12453226661"
    },
    {
      "job": 120040591163,
      "time": 70,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12452138715"
    }
  ],
  "_buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39840192848",
  "_commit": {
    "id": "216090be24b61e9fe4088822abe76a1e01f39b5e",
    "author": "Giulio Barcaroli <gbarcaroli@gmail.com>",
    "committer": "Giulio Barcaroli <gbarcaroli@gmail.com>",
    "message": "new site\n",
    "time": 1792691854
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "parallel",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "numDeriv",
      "role": "Suggests"
    }
  ],
  "_owner": "barcaroli",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "week": "2026-43",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "barcaroli",
      "count": 276,
      "uuid": 5859179
    }
  ],
  "_userbio": {
    "uuid": 5859179,
    "type": "user",
    "name": "Giulio Barcaroli",
    "followers": 13
  },
  "_downloads": {
    "count": 315,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/QGA"
  },
  "_devurl": "https://github.com/barcaroli/qga",
  "_pkgdown": "https://barcaroli.github.io/QGA/",
  "_searchresults": 16,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/QGA.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/barcaroli/qga",
  "_realowner": "barcaroli",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2024-05-31"
    }
  ],
  "_exports": [
    "parameters_hint",
    "QGA"
  ],
  "_help": [
    {
      "page": "parameters_hint",
      "title": "Suggested parameter values for QGA",
      "topics": [
        "parameters_hint"
      ]
    },
    {
      "page": "QGA",
      "title": "Quantum Genetic Algorithm",
      "topics": [
        "QGA"
      ]
    }
  ],
  "_readme": "https://github.com/barcaroli/qga/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 3.204119982655925,
  "_indexed": true,
  "_nocasepkg": "qga",
  "_universes": [
    "barcaroli"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1",
      "date": "2026-10-22T19:32:24.000Z",
      "distro": "resolute",
      "commit": "216090be24b61e9fe4088822abe76a1e01f39b5e",
      "fileid": "https://r2.ropensci.org/36755e1dc87adc23efe5c5442ff9fc95dee32f0f197bd26f2ecf8f16e79e5350",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39840192848"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1",
      "date": "2026-10-22T19:32:34.000Z",
      "distro": "resolute",
      "commit": "216090be24b61e9fe4088822abe76a1e01f39b5e",
      "fileid": "https://r2.ropensci.org/aa6571297e4d93f822f72a24f99763b93361ffdd64c4e171fb7f6b8b058f3669",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39840192848"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-10-22T19:32:21.000Z",
      "commit": "216090be24b61e9fe4088822abe76a1e01f39b5e",
      "fileid": "https://r2.ropensci.org/d29cd6ee1944489771279c456314a1ad3d0198f8f5aa22c5b39d48b15573a1e2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39840192848"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1",
      "date": "2026-10-22T19:31:49.000Z",
      "commit": "216090be24b61e9fe4088822abe76a1e01f39b5e",
      "fileid": "https://r2.ropensci.org/50d182ec7f5a62fb0d30f505bb2e2dc8a24ba0ca2f4c21b84a57a4d814969fc8",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39840192848"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1",
      "date": "2026-10-22T19:31:47.000Z",
      "commit": "216090be24b61e9fe4088822abe76a1e01f39b5e",
      "fileid": "https://r2.ropensci.org/d2109c8fc4cbfbbccee392e8477ab321cfba8a28479d85b81b4fdd6df1dc833a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39840192848"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-10-22T19:31:12.000Z",
      "commit": "216090be24b61e9fe4088822abe76a1e01f39b5e",
      "fileid": "https://r2.ropensci.org/6c7da062e8fcfea94ce4c9cf720453f14a96283538dd13914c448d8fae957a8c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39840192848"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1",
      "date": "2026-10-22T19:31:12.000Z",
      "commit": "216090be24b61e9fe4088822abe76a1e01f39b5e",
      "fileid": "https://r2.ropensci.org/4bdebcc7da86cc4c285ecb43f57cfea7b44d2965b8dbf197a1595d05f8f057fe",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39840192848"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1",
      "date": "2026-10-22T19:31:20.000Z",
      "commit": "216090be24b61e9fe4088822abe76a1e01f39b5e",
      "fileid": "https://r2.ropensci.org/46cc1e1b294815bf6ed7a366ce17b21788fe6511564bbda4b574ccae0a4f9a03",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39840192848"
    }
  ]
}