Coder Social home page Coder Social logo

vm6502q / projectq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from projectq-framework/projectq

1.0 1.0 0.0 1.11 MB

ProjectQ: An open source software framework for quantum computing

Home Page: https://projectq.ch

License: Apache License 2.0

Python 86.18% C++ 13.82%

projectq's Introduction

VM6502-Q Emulator

VM6502-Q Build Status

This is a working 6502 emulator with support for quantum operations provided by qrack.

See ReadMe.txt for the original readme documentation.

Building

Clone qrack. Follow the instructions on that repository for installing qrack, including OpenCL support.

Specify the SDL2 include directory:

export SDLDIR=/usr/include/SDL2

(...Or wherever your SDL2 headers reside on your system.)

From qrack checkout directory, for the v7 API:

mkdir _build && cd _build && cmake -DENABLE_BCD=ON -DENABLE_ROT_API=ON -DENABLE_REG_GATES=ON .. && make install

For v6 API, the -D options are not necessary. The make install operation might require sudo privileges.

Then, make all in the vm6502q checkout directory. This will use the installed qrack library and headers.

Usage

Run ./vm65 -r file.dat or use make run from the examples repository.

projectq's People

Contributors

alexandrupaler avatar arijordan avatar babbush avatar bombenchris avatar cgogolin avatar damiansteiger avatar dbretaud avatar dwierichs avatar fernandodelaiglesia avatar francabrera avatar giggleliu avatar kevinsung avatar maffoo avatar melven avatar msoeken avatar strilanc avatar takishima avatar thomashaener avatar wrathfulspatula avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

projectq's Issues

pybind11 dependancy in pip3 install ProjectQ

I'm working on a Dockerized Qrack-ProjectQ-SimulaQron container and found that the requirements for the pip3 install projectq missed the pybind11 dependancy:

Screenshot 2019-04-15 at 14 44 15

installing pybind11 before installing ProjectQ fixes this:

Screenshot 2019-04-15 at 15 24 10

So methinks adding pybind11 as a requirement for the correct installation of ProjectQ is in place IMHO.

Manageable diff for ProjectQ-Framework consideration

The vm6502q organization intends to officially support Qrack as an optional simulator for ProjectQ, under the Apache 2.0 license. This lets Qrack take advantage of the compilation of ProjectQ. It also provides effective cluster/multiprocessor support for Qrack via a stack of SimulaQron -> ProjectQ -> Qrack.

In the process of developing and debugging the integration, the changes went out of the original scope, and the diff diverged too far from the official original project. The immediate priority is to revert the diff as much as possible and to break the changes up into decoupled PRs, if necessary, to present for consideration for adoption as an optional simulator in the official original ProjectQ repository.

Request module

When I try to call the backend in projectQ, it gives me an error "no module named request". How to get rid of this error?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.