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

Add calibrations with the TemplateOptimization #5752

Merged
merged 51 commits into from
Feb 11, 2021
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
8a72709
* Added fix and corresponding test to catch bug related to parameter …
eggerdj Dec 2, 2020
4592773
* Applied suggestion from cryoris.
eggerdj Dec 3, 2020
64b5fad
Merge branch 'master' of github.com:Qiskit/qiskit-terra
eggerdj Dec 15, 2020
d58ff84
Merge branch 'master' of github.com:Qiskit/qiskit-terra
eggerdj Dec 16, 2020
08df1cf
Merge branch 'master' of github.com:Qiskit/qiskit-terra
eggerdj Dec 21, 2020
173ac35
Merge branch 'master' of github.com:Qiskit/qiskit-terra
eggerdj Dec 23, 2020
cd43475
Merge branch 'master' of github.com:Qiskit/qiskit-terra
eggerdj Jan 29, 2021
6ff48b8
* Created a new TransformationPass pass CalibrationAdder to add calib…
eggerdj Jan 29, 2021
996b24c
* Cleaned-up code by using the standard RZXGate.
eggerdj Jan 30, 2021
c954f50
* Added tests.
eggerdj Jan 30, 2021
bedd931
* Moved calibration_adder to scheduling.
eggerdj Jan 30, 2021
958af81
* Added missing new line at end of file.
eggerdj Jan 30, 2021
70656cc
* Fix cyclic import.
eggerdj Jan 30, 2021
3871f13
* Added cy template.
eggerdj Jan 30, 2021
021fee7
* Added hadamards to reverse the ZX direction.
eggerdj Jan 30, 2021
e49c85a
* Fix cyclical import.
eggerdj Jan 30, 2021
2447198
* Fix tests.
eggerdj Jan 30, 2021
1d5f472
Update qiskit/transpiler/passes/scheduling/calibration_creators.py
eggerdj Jan 31, 2021
5e22d9b
Update qiskit/transpiler/passes/scheduling/calibration_adder.py
eggerdj Jan 31, 2021
3ce6a82
* Propagated the change self._calibration_adder to self._calibration_…
eggerdj Jan 31, 2021
a96335a
* Style and lint fix.
eggerdj Jan 31, 2021
8179210
* Added new template.
eggerdj Jan 31, 2021
c4f3af9
* Fixed missing import.
eggerdj Jan 31, 2021
cabbd98
Merge branch 'master' into issue-5751
eggerdj Jan 31, 2021
1bf0641
Merge branch 'master' into issue-5751
eggerdj Feb 1, 2021
38cc22e
Merge branch 'master' into issue-5751
eggerdj Feb 1, 2021
8f980eb
Update qiskit/transpiler/passes/scheduling/calibration_creators.py
eggerdj Feb 2, 2021
966f484
* Renamed ZXScheduleBuilder to RZXCalibrationBuilder.
eggerdj Feb 2, 2021
fb8e01b
* Renamed zx to rzx.
eggerdj Feb 2, 2021
4e84b70
Update qiskit/circuit/library/templates/rzx_templates.py
eggerdj Feb 2, 2021
6cdccd4
* Fixed warning message length.
eggerdj Feb 2, 2021
ec16a62
* Improved error message.
eggerdj Feb 2, 2021
4d6d8d6
* Moved rzx templates to their own files.
eggerdj Feb 2, 2021
fcf0410
* Harmonized docstrings.
eggerdj Feb 2, 2021
212cfbb
* Fixed import issue.
eggerdj Feb 2, 2021
c663b21
* Fix lint.
eggerdj Feb 2, 2021
5694ba3
* Fixed import.
eggerdj Feb 2, 2021
c3f232a
Merge branch 'master' into issue-5751
eggerdj Feb 3, 2021
7d75265
* Added binding of parameters to test_templates for templates with pa…
eggerdj Feb 3, 2021
756d61a
Update qiskit/transpiler/passes/scheduling/calibration_creators.py
eggerdj Feb 3, 2021
278e609
* Added a check to ensure that the backend has the cx gate in RZXCali…
eggerdj Feb 3, 2021
d69dce8
* Made RZXCalibrationCreator support the presence and absence of rota…
eggerdj Feb 3, 2021
c589104
* Improved class docstring of RZXCalibrationBuilder.
eggerdj Feb 4, 2021
47b63d6
* Added arxiv link to the docstring.
eggerdj Feb 4, 2021
c241286
Merge branch 'master' into issue-5751
eggerdj Feb 4, 2021
0885e89
Update qiskit/transpiler/passes/scheduling/calibration_creators.py
lcapelluto Feb 4, 2021
58251ad
* Added release note.
eggerdj Feb 8, 2021
3d5e6de
Update releasenotes/notes/issue-5751-1b6249f6263c9c30.yaml
eggerdj Feb 8, 2021
5071d2f
Merge branch 'master' into issue-5751
eggerdj Feb 9, 2021
491a880
Merge branch 'master' into issue-5751
lcapelluto Feb 9, 2021
2fa6694
Merge branch 'master' into issue-5751
mergify[bot] Feb 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
* Applied suggestion from cryoris.
eggerdj committed Dec 3, 2020

Unverified

This user has not yet uploaded their public signing key.
commit 45927737c6db7217df91ecd385424ccd0e6746c1
6 changes: 3 additions & 3 deletions qiskit/circuit/quantumcircuit.py
Original file line number Diff line number Diff line change
@@ -2044,9 +2044,9 @@ def _assign_parameter(self, parameter, value):
entry = self._parameter_table.pop(parameter)
for new_parameter in value.parameters:
if new_parameter in self._parameter_table:
entry.extend(self._parameter_table[new_parameter])

self._parameter_table[new_parameter] = entry
self._parameter_table[new_parameter].extend(entry)
else:
self._parameter_table[new_parameter] = entry
else:
del self._parameter_table[parameter] # clear evaluated expressions