{
  "_id": "6ad6798b0d12c08e591b773f",
  "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-19 20:08:57 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-19 15:38:56 UTC",
  "RemoteUrl": "https://github.com/barcaroli/qga",
  "RemoteRef": "HEAD",
  "RemoteSha": "e9702bac802db6e68c11ec04e3f55d81dbbe2b6f",
  "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/1137890be29b5eed3fc0ea44a77473c6f5c3872d9e6454dfd7af8f8afcea8d1f",
  "_filesize": 590177,
  "_sha256": "1137890be29b5eed3fc0ea44a77473c6f5c3872d9e6454dfd7af8f8afcea8d1f",
  "_expires": "2027-01-27T20:11:49.000Z",
  "_created": "2026-10-19T20:08:57.000Z",
  "_published": "2026-10-19T20:11:54.969Z",
  "_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": 118280775935,
      "time": 104,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12218286719"
    },
    {
      "job": 118280775849,
      "time": 94,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12217793477"
    },
    {
      "job": 118280776211,
      "time": 100,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12219275855"
    },
    {
      "job": 118280775948,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12219390617"
    },
    {
      "job": 118279303027,
      "time": 179,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12217886614"
    },
    {
      "job": 118280775856,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12217986797"
    },
    {
      "job": 118280776045,
      "time": 61,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12217633735"
    },
    {
      "job": 118280775979,
      "time": 67,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12218690932"
    },
    {
      "job": 118280775875,
      "time": 60,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12217946691"
    }
  ],
  "_buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39316360580",
  "_commit": {
    "id": "e9702bac802db6e68c11ec04e3f55d81dbbe2b6f",
    "author": "Giulio Barcaroli <gbarcaroli@gmail.com>",
    "committer": "Giulio Barcaroli <gbarcaroli@gmail.com>",
    "message": "diversity\n",
    "time": 1792424336
  },
  "_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": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "barcaroli",
      "count": 274,
      "uuid": 5859179
    }
  ],
  "_userbio": {
    "uuid": 5859179,
    "type": "user",
    "name": "Giulio Barcaroli",
    "followers": 13
  },
  "_downloads": {
    "count": 313,
    "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": [
    "QGA"
  ],
  "_help": [
    {
      "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-19T20:10:56.000Z",
      "distro": "resolute",
      "commit": "e9702bac802db6e68c11ec04e3f55d81dbbe2b6f",
      "fileid": "https://r2.ropensci.org/25ce61e6aceb7f5b1255657dd0d13ee7f9fb07a869d7608ba92be5d8770f50c0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39316360580"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1",
      "date": "2026-10-19T20:10:47.000Z",
      "distro": "resolute",
      "commit": "e9702bac802db6e68c11ec04e3f55d81dbbe2b6f",
      "fileid": "https://r2.ropensci.org/48feba2cf3c92cba73f3da325a3316c789aa75f8069e9b5c60ef011ef785dbf5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39316360580"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1",
      "date": "2026-10-19T20:10:58.000Z",
      "commit": "e9702bac802db6e68c11ec04e3f55d81dbbe2b6f",
      "fileid": "https://r2.ropensci.org/ab88e7edc3972db30d6b8eb198cdf71c424fc16f6fdb555c6d954d5cdbe8cbb6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39316360580"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.1",
      "date": "2026-10-19T20:11:16.000Z",
      "commit": "e9702bac802db6e68c11ec04e3f55d81dbbe2b6f",
      "fileid": "https://r2.ropensci.org/8d85a0c958328ccb6eee5e2d33b38f5c1a4733b227f612cba1a8d4de3f35266c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39316360580"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1",
      "date": "2026-10-19T20:10:41.000Z",
      "commit": "e9702bac802db6e68c11ec04e3f55d81dbbe2b6f",
      "fileid": "https://r2.ropensci.org/a46d9f0fa7886c05f78fef66f38b8af9b01b4bd483d72e9bc0352c20e896413a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39316360580"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1",
      "date": "2026-10-19T20:10:09.000Z",
      "commit": "e9702bac802db6e68c11ec04e3f55d81dbbe2b6f",
      "fileid": "https://r2.ropensci.org/666b517dfaf6bebcf9294f1e97df496e5b9f2a9d8e61c7243102e357d02943c6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39316360580"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1",
      "date": "2026-10-19T20:10:16.000Z",
      "commit": "e9702bac802db6e68c11ec04e3f55d81dbbe2b6f",
      "fileid": "https://r2.ropensci.org/7d71e1e1968387b5e3d7ff64615b6547be259c1051c36ce0825b008d865b4ee4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39316360580"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1",
      "date": "2026-10-19T20:10:09.000Z",
      "commit": "e9702bac802db6e68c11ec04e3f55d81dbbe2b6f",
      "fileid": "https://r2.ropensci.org/f5c13db540f0822f83dc4a840812c990b36110da41ebb4be9252ef4717a4adc8",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/barcaroli/actions/runs/39316360580"
    }
  ]
}