Skip to content
forked from bestquark/mentpy

MentPy is an open-source software for simulations of measurement-based quantum computing circuits.

License

Notifications You must be signed in to change notification settings

nheinsdorf/mentpy

 
 

Repository files navigation

⚠️ This library is under development.

MentPy: A Measurement-Based Quantum computing simulator.

The MentPy library is an open-source software for simulations of measurement-based quantum computing circuits. Currently, this package is under development and is not ready for public use.

Installation

The MentPy library can be installed using pip with

pip install mentpy

or directly from the source code for the latest version with

pip install git+https://github.com/BestQuark/mentpy.git

Usage

To simulate a measurement pattern, you can use the mp.PatternSimulator.

import mentpy as mp

st = mp.templates.grid_cluster(2,4)
ps = mp.PatternSimulator(st)
output = ps(np.random.rand(len(st.outputc)))

For visualization of circuits, you can use the mp.draw(st) function

image

Documentation

The documentation for MentPy can be found here.

Contributing

We welcome contributions to MentPy! Please see our contributing guidelines for more information.

License

MentPy is licensed under the GNU General Public License v3.0.

About

MentPy is an open-source software for simulations of measurement-based quantum computing circuits.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%