Giter Club home page Giter Club logo

qcviewer's People

Contributors

aparent avatar j3parker avatar m4burns avatar ti1024 avatar vprusso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

qcviewer's Issues

Gates in circuit files

Allow gates to be specified inside a .qc file so that circuits with custom gates can be easily loaded.

Notes for building on ubuntu

You need cairo 1.10.2 or higher which isn't available on 10.04 LTS, so 12.04 is needed.

You need to install a few more dependencies:

apt-get install libpoppler-glib-dev
apt-get install libgtkmm-2.4-dev libglademm-2.4-dev

I am not sure if glademm is actually required.

It would be nice to update the README with these notes if you have a chance.

CMake Error at QCViewer/CMakeLists.txt

I am trying to build this project QCViewer,I just installed the all Build dependence for this project, on Ubuntu 18.04 LTS, and tried to run ./build. But CMake just does not want to find it and i dont know why. What am i missing? Do i need to set an environment variable or something?
`CMake Error at QCViewer/CMakeLists.txt:63 (FIND_PACKAGE):
By not providing "FindPoppler.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Poppler", but
CMake did not find one.

Could not find a package configuration file provided by "Poppler" with any
of the following names:

PopplerConfig.cmake
poppler-config.cmake

Add the installation prefix of "Poppler" to CMAKE_PREFIX_PATH or set
"Poppler_DIR" to a directory containing one of the above files. If
"Poppler" provides a separate development package or SDK, be sure it has
been installed.

-- Configuring incomplete, errors occurred!
See also "/home/link/Desktop/QCViewer-master/build/release/CMakeFiles/CMakeOutput.log".
make: *** No rule to make target 'install'. Stop.
`

New file format

-Add circuit descriptions/authors to the .qc format
-better input output specification

Change the .qc file format into something like this (while keeping support for the old format):

VERSION "1.0"

IMPORT carrySelect FROM "adder.qc"

BEGIN test (a b c)
  BEGIN HEADER
    Author = "blah"
    Description = "Blah"
    foo = "bar"
  END HEADER
  BEGIN BITINFO
    INLABELS a : ain , b : stuff
    OUTLABELS a : aout , c : garbage
    INIT a : |0>+|1> , c b : |00> + |11>
  END BITINFO
  BEGIN GATES
    H a
    toff b c
    :NEWBIT n
    toff b n
    toff b n
    :FREE n
  END GATES
END test

Subcircuits

Add better support for subcircuts. Including the ability to expand and collapse them in the viewer mode.

Latex Support

Add latex support for things such as line names and labels.

Rotation gates as a fraction of pi

Display rotation gates as a fraction of pi rather then a decimal number multiplied by pi. This will require changes to .qc to specify the fraction as well as changes to the drawing system to display it as a fraction.

Add Latex name to gate library!

Need to do this since latex and pango use different syntax for superscript. Also would be nice for user defined gate names/symbols.

Currently the lack of this causes a bug when viewing gates which have superscript in latex mode.

File per gate

Have a file per gate as well as folder per gate library. This will allow the user to easily import new gates from others.

Measurement

Add measurement. Requires changes to sim for density matrices as well as changes to .qc to specify measurement gates.

Drag and Drop Preview

Draw a dim dotted box to indicate where a gate would go under drag and drop. This will 1) Aid the user 2) Aid debugging.

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.