{
  "id": "2023/201",
  "url": "https://opencryptology.org/2023/201",
  "original_url": "https://eprint.iacr.org/2023/201",
  "title": "DenseQMC: an efficient bit-slice implementation of the Quine-McCluskey algorithm",
  "authors": [
    "Aleksei Udovenko"
  ],
  "affiliations": null,
  "abstract": "This note describes a new efficient bit-slice implementation DenseQMC of the Quine-McCluskey algorithm for finding all prime implicants of a Boolean function in the dense case. It is practically feasible for n <= 23 when run on a common laptop or for n <= 27 when run on a server with 1 TiB RAM.\n\nThis note also outlines a very common mistake in the implementations of the Quine-McCluskey algorithm, leading to a quadratic slowdown. An optimized corrected implementation of the classic approach is also given (called SparseQMC).\n\nThe implementation is freely available at https://github.com/hellman/Quine-McCluskey .",
  "category": "Secret-key cryptography",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“DenseQMC: an efficient bit-slice implementation of the Quine-McCluskey algorithm” by Aleksei Udovenko, Cryptology ePrint Archive, Paper 2023/201, https://eprint.iacr.org/2023/201. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-02-15T13:00:24Z",
    "updated": "2023-02-15T13:00:24Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/201.pdf",
    "sha256": "05d909645a6f65222338442e8a604c26e31fbe832bf1938cde4f491508935e93",
    "size": 1162081,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/201/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/201.pdf",
      "size": 1162081,
      "sha256": "05d909645a6f65222338442e8a604c26e31fbe832bf1938cde4f491508935e93",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260310141013id_/https://eprint.iacr.org/2023/201.pdf",
      "captured_at": "2026-03-10T14:10:13Z",
      "size": 1071250
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/201.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 1162081
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/201,\n      author = {Aleksei Udovenko},\n      title = {DenseQMC: an efficient bit-slice implementation of the Quine-McCluskey algorithm},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/201},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/201}\n}"
}
