Skip to content

refactor Compiler + Generators#3

Open
georgios-ts wants to merge 32 commits intodevelfrom
compiler
Open

refactor Compiler + Generators#3
georgios-ts wants to merge 32 commits intodevelfrom
compiler

Conversation

@georgios-ts
Copy link
Owner

Trigger Github actions.

elif gate.name == 'X':
### off by global phase of Exp[ pi power /2]
'''
if we wanted to do it formally we would use the following

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Very clear. Global phase is fine. Maybe add "Global phases can be ignored. For controlled gates the global phase becomes a relative phase so this structure is respected in the compilation of controlled gates." or something like this

@kottmanj
Copy link

Fantastic!

clausia added 20 commits January 4, 2021 09:57
…Calculus operations

ajustes

Validate import pyzx and validate multiple targets and max 2 controls

compile_ry() consider all targets, and small fix name

improve compile_y() method

Add flag for zx-calculus and break down controlled rotations not supported by qasm

set default value

Tests for compile_ry and compile_y

Convinient unitary gates: U, u1, u2, u3 and its tests

Import QASM code logic, including custom gates

Pyzx doesn't understand controlled-H, so a compile option is added to support CH for pyzx
georgios-ts pushed a commit that referenced this pull request Feb 10, 2021
refactor Compiler (Georgios)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants