-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new Circuit
, Gate
, Lane
, Moment
types
#282
Conversation
de3fcf6
to
5d939c4
Compare
in the end, this PR got bigger than what i wanted but everything in here was needed there is really no breaking changes, except for...
i want these breaking changes to be before 0.8.0 so expect another PR where i better define @jofrevalles i'm merging directly because i'm lil bit on a hurry and need this to implement tests pass... it's just the Reactant problem right now |
while thinking about adding new features around connectivty between
Quantum
s,Ansatz
and so, i needed to add this functionality to better represent quantum circuits or TEBD decompositions.@jofrevalles this should fix your problem with getting the gates from a circuit in order. the only thing left to do for you to work is to implement a graph traversing o graph walk algorithm on top of
Circuit
.notes
Gate
is nice. it's aTensor
withSite
information, just likeQuantum
is aTensorNetwork
withSite
information.Lane
andBond
are going to be used for helpingAnsatz
. i need them for the PEPS.Moment
can also be used for stackingQuantum
s in a new type i'm designing for representing compositions of TNs.to do
we probably need to change the name of
Moment
because it means other thing in quantum circuit libraries