{"id":15725989,"url":"https://github.com/altanai/cirq_quantum_programming","last_synced_at":"2025-03-31T01:27:26.915Z","repository":{"id":138585109,"uuid":"231331782","full_name":"altanai/cirq_quantum_programming","owner":"altanai","description":"Workspace for my apps and trial experiments on quantum computing. M currently in the learning stage with quantum and will organize the repo better in future ","archived":false,"fork":false,"pushed_at":"2020-07-19T12:11:06.000Z","size":21,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T06:47:00.504Z","etag":null,"topics":["cirq","quantum","quantum-algorithms","quantum-computing","quantum-programming-language"],"latest_commit_sha":null,"homepage":"https://programmingaltanai.wordpress.com/category/quantum-computing/","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/altanai.png","metadata":{"files":{"readme":"README.md","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-02T07:39:37.000Z","updated_at":"2023-02-21T18:02:45.000Z","dependencies_parsed_at":"2023-04-15T12:01:02.758Z","dependency_job_id":null,"html_url":"https://github.com/altanai/cirq_quantum_programming","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/altanai%2Fcirq_quantum_programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altanai%2Fcirq_quantum_programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altanai%2Fcirq_quantum_programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/altanai%2Fcirq_quantum_programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/altanai","download_url":"https://codeload.github.com/altanai/cirq_quantum_programming/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246402674,"owners_count":20771353,"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":["cirq","quantum","quantum-algorithms","quantum-computing","quantum-programming-language"],"created_at":"2024-10-03T22:25:20.725Z","updated_at":"2025-03-31T01:27:26.875Z","avatar_url":"https://github.com/altanai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## CirQ Quantum programmming\n\nCirQ is a python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.\n\nInstall\n\n```bash\npython3 -m pip install --upgrade pip\npython3 -m pip install cirq \n```\n\ndependencies \n\nFor witing to pdf \n```bash\nbrew cask install mactex\n```\n\n### Circuis \n\nCan be either \n\n- **Circuit**\nCircuit is a collection of Moments. A Moment is a collection of Operations that all act during the same abstract time slice.\n\n- **schedule**\nSchedules offer more control over quantum gates and circuits at the timing level\n\nCirq has three main ways of defining qubits:\n\n- cirq.NamedQubit: used to label qubits by an abstract name\n- cirq.LineQubit: qubits labelled by number in a linear array\n- cirq.GridQubit: qubits labelled by two numbers in a rectangular lattice.\n\n\n## Variational quantum algorithms\n\nThe variational method in quantum theory is a classical method for finding low energy states of a quantum system. \n\nIn classical variational method to a system of n qubits, an exponential number (in n) of complex numbers are necessary to generically represent the wave function of the system. \n\nHowever with a quantum computer one can directly produce this state using a parameterized quantum circuit, and then by repeated measurements estimate the expectation value of the energy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltanai%2Fcirq_quantum_programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltanai%2Fcirq_quantum_programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltanai%2Fcirq_quantum_programming/lists"}