{"id":13776362,"url":"https://github.com/Ordoptimus/pyqudit","last_synced_at":"2025-05-11T10:31:03.049Z","repository":{"id":62582867,"uuid":"382794049","full_name":"Ordoptimus/pyqudit","owner":"Ordoptimus","description":"Qudit Computing | Quantum Simulations | PIP Package","archived":false,"fork":false,"pushed_at":"2021-07-13T19:14:04.000Z","size":6070,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-09T15:19:55.424Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ordoptimus.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2021-07-04T07:48:11.000Z","updated_at":"2025-02-06T14:42:50.000Z","dependencies_parsed_at":"2022-11-03T21:34:38.178Z","dependency_job_id":null,"html_url":"https://github.com/Ordoptimus/pyqudit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ordoptimus%2Fpyqudit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ordoptimus%2Fpyqudit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ordoptimus%2Fpyqudit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ordoptimus%2Fpyqudit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ordoptimus","download_url":"https://codeload.github.com/Ordoptimus/pyqudit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253551531,"owners_count":21926311,"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":"2024-08-03T18:00:23.971Z","updated_at":"2025-05-11T10:30:58.018Z","avatar_url":"https://github.com/Ordoptimus.png","language":"Python","funding_links":[],"categories":["Quantum full-stack libraries"],"sub_categories":[],"readme":"PyQudit\n=======\n\n.. |PyPIVersion| image:: https://img.shields.io/pypi/v/pyqudit?logo=pypi\u0026logoColor=yellow\n                  :target: https://pypi.org/project/pyqudit\n.. |Docs| image:: https://readthedocs.org/projects/pyqudit/badge/?version=latest\n            :target: https://pyqudit.readthedocs.io/en/latest/?badge=latest\n.. |GitLanguage| image:: https://img.shields.io/github/languages/top/Ordoptimus/pyqudit?color=yellow\u0026logo=python\n.. |PyPIFormat| image:: https://img.shields.io/pypi/format/pyqudit?color=purple\n.. |PyPIImplementation| image:: https://img.shields.io/pypi/implementation/pyqudit?color=%23333\n.. |GitIssues| image:: https://img.shields.io/github/issues/Ordoptimus/pyqudit?color=blue\u0026logo=github\n                :target: https://github.com/Ordoptimus/pyqudit/issues\n.. |License| image:: https://img.shields.io/github/license/Ordoptimus/pyqudit?color=skyblue\n                :target: https://github.com/Ordoptimus/pyqudit/blob/main/LICENSE\n.. _official documentation: https://pyqudit.readthedocs.io\n\n|PyPIVersion| |Docs| |GitLanguage| |PyPIFormat| |PyPIImplementation| |GitIssues| |License|\n\nPyQudit is a Python package for using generalised and universal versions of quantum gates, in N-dimensions. Enables building simple quantum circuit simulations on qudit logic using higher dimensional gates.\n\nGetting Started\n===============\n\nConcept\n-------\nMainstream QuantumComputing uses qubits which operate in a two dimensional\nHilber space. Qudits are their higher dimensional equivalents with better\ninformaiton density and potential for higher efficiency.\nPyQudit includes the qudit versions of fundamental quantum gates,\nuseable over any dimension\\ :sup:`*` as specified by the user.\nIt can be used to understand the behaviour of qudit gates as also to build\nhigher dimensional circuits for experimentation.\n\n:sup:`*refer gate functions`\n\nInstall\n-------\nThe latest stable version of PyQudit is available on PyPI and can be installed with pip.\nIt is recommeded to install in your quantum computing python environment, alongside existing packages.\n\n.. code-block:: bash\n\n    pip install pyqudit\n\nBuild Locally\n-------------\nAlternatively, you can build the package wheel from source and then install it via pip.\n\n.. code-block:: console\n\n    pip3 install --upgrade pip\n    pip3 install --upgrade setuptools\n    git clone https://github.com/Ordoptimus/pyqudit.git\n    cd pyqudit\n    python3 setup.py bdist_wheel\n\nReplace [version] with the latest version as seen in the wheel file in /bdist_wheel\n\n.. code-block:: console\n\n    pip3 install dist/pyqudit-[version]-py3-none-any.whl\n\nUse\n---\n.. code-block:: python\n\n    import pyqudit.qudit as pq\n\nUse ``dir(pq)`` to show all package methods.\n\nSample\n------\n\n\u003e\u003e\u003e import pyqudit.qudit as pq\n\u003e\u003e\u003e d = int(input('Enter Dimensions: '))\nEnter Dimensions: 3\n\u003e\u003e\u003e print(\"\\n---CX's Pauli Matrix---\")\n\u003e\u003e\u003e print(pq.CXd_pauli(d))\n---CX's Pauli Matrix---\n[[1 0 0 0 0 0 0 0 0]\n [0 1 0 0 0 0 0 0 0]\n [0 0 1 0 0 0 0 0 0]\n [0 0 0 0 0 1 0 0 0]\n [0 0 0 1 0 0 0 0 0]\n [0 0 0 0 1 0 0 0 0]\n [0 0 0 0 0 0 0 1 0]\n [0 0 0 0 0 0 0 0 1]\n [0 0 0 0 0 0 1 0 0]]\n\nDocumentation\n=============\nRefer the `official documentation`_ for detailed examples and syntax.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOrdoptimus%2Fpyqudit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOrdoptimus%2Fpyqudit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOrdoptimus%2Fpyqudit/lists"}