{"id":18107347,"url":"https://github.com/itsdfish/quantumepisodicmemory.jl","last_synced_at":"2025-10-07T02:35:20.074Z","repository":{"id":37819695,"uuid":"503504105","full_name":"itsdfish/QuantumEpisodicMemory.jl","owner":"itsdfish","description":"A Julia package for the Generalized Quantum Episodic Memory model","archived":false,"fork":false,"pushed_at":"2025-08-26T01:23:42.000Z","size":3362,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-26T03:36:12.232Z","etag":null,"topics":["human-memory","julia","julia-language","julialang","quantum","quantum-cognition"],"latest_commit_sha":null,"homepage":"https://itsdfish.github.io/QuantumEpisodicMemory.jl/dev/","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsdfish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-14T20:03:43.000Z","updated_at":"2024-10-27T11:35:53.000Z","dependencies_parsed_at":"2024-10-18T10:27:38.267Z","dependency_job_id":"b50848bd-f4a7-4cab-a261-980af7acb58f","html_url":"https://github.com/itsdfish/QuantumEpisodicMemory.jl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itsdfish/QuantumEpisodicMemory.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdfish%2FQuantumEpisodicMemory.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdfish%2FQuantumEpisodicMemory.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdfish%2FQuantumEpisodicMemory.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdfish%2FQuantumEpisodicMemory.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsdfish","download_url":"https://codeload.github.com/itsdfish/QuantumEpisodicMemory.jl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsdfish%2FQuantumEpisodicMemory.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708973,"owners_count":26032135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["human-memory","julia","julia-language","julialang","quantum","quantum-cognition"],"created_at":"2024-10-31T23:10:33.067Z","updated_at":"2025-10-07T02:35:20.011Z","avatar_url":"https://github.com/itsdfish.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"#\n\u003cimg src=\"https://raw.githubusercontent.com/itsdfish/QuantumEpisodicMemory.jl/refs/heads/main/docs/logo/logo_readme.png\" alt=\"drawing\" width=\"900\"/\u003e\n\n#\n\n[![](https://img.shields.io/badge/docs-latest-blue.svg)](https://itsdfish.github.io/QuantumEpisodicMemory.jl/dev/) [![CI](https://github.com/itsdfish/QuantumEpisodicMemory.jl/actions/workflows/CI.yml/badge.svg)](https://github.com/itsdfish/QuantumEpisodicMemory.jl/actions/workflows/CI.yml)\n\n\n\nThis repository constains Julia code for the Generalized Quantum Episodic Memory (GQEM) model of item recognition. In the recognition memory task, subjects study a list of words. In the test phase, three types of words are presented: old words from the study list, new but semantically related words, and new but unrelated words. Subjects are given four sets of instructions\n\n1. gist: respond *yes* to semantically related words (G)\n2. verbatim: respond *yes* to old (i.e. studied) words (V)\n3. gist + verbatim: respond *yes* to semantically related and old words (G ∪ V)\n4. unrelated: respond *yes* to unrelated words (U)\n\nThe law of total probability is violated in experiments, such that Pr(G) + Pr(V) \u003e Pr(G ∪ V). Similarly, the judgments are subadditive: Pr(G) + Pr(V) + Pr(U) \u003e 1. These effects emerge in the GQEM because the memory representations are incompatible, meaning they are represented with different, non-orthogonal bases and evaluated sequentially. As a result, LOTP and additivity do not necessarily hold. \n\n# Installation\n\nTo install from the REPL, use `]` to switch to the package mode and enter the following:\n\n```julia\nadd https://github.com/itsdfish/QuantumEpisodicMemory.jl\n```\n\n# Example\n\nThe following example shows a violation of the total law of probability. \n\n```julia\nusing QuantumEpisodicMemory\n\n# basis rotation parameters relative to the standard verbatim basis, V\nθG = -.12\nθU = -1.54\nθψO = -.71\nθψR = -.86\nθψU = 1.26\n\ndist = GQEM(; θG, θU, θψO, θψR, θψU)\npreds = compute_preds(dist)\n\ntable = to_table(preds)\n\n# violation of LOPT\nsum(table[[\"gist\",\"verbatim\"],:], dims=1) - table[\"gist+verbatim\", :]'\n```\n\n```julia \n1×3 Named Matrix{Float64}\ncondition ╲ word type │       old    related  unrelated\n──────────────────────┼────────────────────────────────\nsum(condition)        │  0.570677   0.419159  0.0797084\n```\n\n# References \n\nTrueblood, J. S., \u0026 Hemmer, P. (2017). The generalized quantum episodic memory model.\nCognitive Science, 41(8), 2089-2125.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdfish%2Fquantumepisodicmemory.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsdfish%2Fquantumepisodicmemory.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsdfish%2Fquantumepisodicmemory.jl/lists"}