ProjectQ-Framework / ProjectQ

ProjectQ: An open source software framework for quantum computing
https://projectq.ch
Apache License 2.0
888 stars 274 forks source link

Allow selection of drawing order in CircuitDrawer (solves #333) #334

Closed alexandrupaler closed 5 years ago

alexandrupaler commented 5 years ago

Included the possibility to draw the gates in the order they were added to the circuit.

Closes #333

alexandrupaler commented 5 years ago

@Takishima I am fine with signing a copyright form. Please send me the form.

For the tests, I had to change the test files a bit, because the lambdas did not have the necessary number of params

Takishima commented 5 years ago

@Takishima I am fine with signing a copyright form. Please send me the form.

For the tests, I had to change the test files a bit, because the lambdas did not have the necessary number of params

To sign the CLA, you need to send an email to info@projectq.ch requesting it.

Takishima commented 5 years ago

I will do a new review once the comments above have been addressed; overall it is starting to look better and we will be able to merge soon hopefully.