Skip to content
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

Control of individual gate times #9

Open
BorisVarbanov opened this issue Sep 21, 2018 · 1 comment
Open

Control of individual gate times #9

BorisVarbanov opened this issue Sep 21, 2018 · 1 comment

Comments

@BorisVarbanov
Copy link

Currently adding gates through the circuit builder automatically sets the gate times. However giving the user the option for manual control of individual gate times and of the scheduling used would be useful.

@obriente
Copy link
Collaborator

As discussed, I think the best way to proceed is to allow the user to fix some gates as simultaneous. I've written code to do this; passing a tuple of gate descriptions to qsoverlay will now first bring all qubits to the same time to begin with, then it will insert the gates.

I've also updated the add_gate function - it now accepts time as a kwarg, and if passed will a) fix the time of the inserted gate, and b) not update builder.times. I'd be really careful using this though, for example builder.finalize() uses builder.times to decide the length of the finished circuit so these will need to be updated independently or you'll be without T1 and T2 noise.

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

No branches or pull requests

2 participants