{"id":25736909,"url":"https://github.com/phdenzel/bb84","last_synced_at":"2026-04-16T17:03:32.175Z","repository":{"id":188349604,"uuid":"678445639","full_name":"phdenzel/bb84","owner":"phdenzel","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-14T22:11:25.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-08-15T00:39:58.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phdenzel.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-14T15:11:55.000Z","updated_at":"2023-08-15T00:40:01.399Z","dependencies_parsed_at":"2023-08-15T00:40:01.192Z","dependency_job_id":null,"html_url":"https://github.com/phdenzel/bb84","commit_stats":null,"previous_names":["phdenzel/bb84"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Fbb84","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Fbb84/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Fbb84/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phdenzel%2Fbb84/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phdenzel","download_url":"https://codeload.github.com/phdenzel/bb84/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240807121,"owners_count":19860761,"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","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":[],"created_at":"2025-02-26T06:31:32.603Z","updated_at":"2026-04-16T17:03:32.130Z","avatar_url":"https://github.com/phdenzel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+AUTHOR: phdenzel\n#+TITLE: BB84 for SoME3\n#+DATE: 2023-08-14 Mon\n#+OPTIONS: author:nil title:t date:nil timestamp:nil toc:nil num:nil \\n:nil\n\nThese are scripts and utilities for the BB84 project.\n\n- ~svg_components.py~: generates the individual SVG files in ~assets/images~\n- ~layout.py~: composes SVG Figures from individual SVG components\n- ~anim.py~: produces animation frames from PNG-converted SVG Figures\n- ~bb84.py~: BB84 algorithm implemented in qiskit\n\n**** Frame naming scheme\n#+begin_src\n  {scene}_{alice:detector}-{bob:detector}.{signal}.{polarisation}\n#+end_src\n\n- scene\n  - ~transmission~\n  - ~transition~\n  - ~TODO~\n- detector\n  - 0 - ~assets/images/detector0.svg~\n  - 1 - ~assets/images/detector1.svg~\n- signal\n  - 0 - ~assets/images/wave0.svg~\n  - 1 - ~assets/images/wave1.svg~\n  - etc. \n- polarisation\n  - 0 - no perspective\n  - 1 - vertical\n  - 2 - horizontal\n\n\n*** Download frames/clips\n\nThe frames and clips are stored at [[https://mega.nz/folder/9WZmyYCR#E1padX062WtV4hcmmuhTGA][https://mega.nz/folder/9WZmyYCR#E1padX062WtV4hcmmuhTGA]]\nand [[https://drive.google.com/drive/folders/1RoI0nVuxQE_02RrG49R2ZYG5NRMj_YNz?usp=drive_link][https://drive.google.com/drive/folders/1RoI0nVuxQE_02RrG49R2ZYG5NRMj_YNz?usp=drive_link]]\n\n\n*** Requirements\n\n- ~python \u003e= 3.6~\n- ~numpy~\n- ~matplotlib~\n- ~bb84.py~\n  - ~qiskit~\n  - ~qiskit-aer~\n  - ~pylatexenc~\n- ~layout.py~ \u0026 ~anim.py~\n  - ~svgutils~\n  - ~cairosvg~\n  - ~Pillow~\n- ~compile_clips.sh~\n  - ~ffmpeg~\n\n\n*** Install\n\nBest to run the code from a virtual python environment (should work with anything above 3.6)\n#+begin_src shell\n  virtualenv venv\n  source venv/bin/activate\n  pip install -r requirements.txt\n#+end_src\n\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphdenzel%2Fbb84","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphdenzel%2Fbb84","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphdenzel%2Fbb84/lists"}