nlaanait / qcdenoise Goto Github PK
View Code? Open in Web Editor NEWClassical Learning of Emulators and Denoisers of Quantum Circuits
License: MIT License
Classical Learning of Emulators and Denoisers of Quantum Circuits
License: MIT License
the get_stabilizer
method in GraphCircuit
constructor class imports Sympy library -- need to check that this doesn't break GraphCircuit
For circuits constructed with CXGateCircuit
the decomposition of the CZ
gate in terms of H-CNOT-H
gates is wrong. See (https://qiskit.org/textbook/ch-gates/more-circuit-identities.html#c-from-cnot).
In qcdenoise/graph_circuit.py
this has been updated on lines 87,88 and 97,98
If graph circuit is constructed using a nx.Digraph()
object then the generators are constructed without issue, but the stabilizer coefficients are imaginary. Currently this just raises an error flag and stops the stabilizer routine.
Calling get_unique_operators()
after defining the stabilizer (Pauli) strings (line 126 of stabilizers.py
) causes error in the stabilizer circuit construction
self.find_stabilizers(**kwargs)
: defines the Pauli strings with associated coefficient character (+IIII
)
get_unique_operators()
: strips coefficient character
then with the default value of drop_coef=True
the last Pauli operator is dropped (mis-interpreted as coefficient)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.