Skip to content

Commit 73488cd

Browse files
committed
Improve reno
1 parent 958e51e commit 73488cd

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed
Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
---
22
upgrade:
33
- |
4-
A function computing the coherence limit error is renamed to
5-
:meth:`.RBUtils.coherence_limit_error` and upgraded so that it can compute
6-
the error of gates with three or more qubits. Note that the order of arguments
7-
is slightly changed from the original function :meth:`.RBUtils.coherence_limit`,
8-
which is now deprecated.
4+
A function to compute the coherence limit error, :meth:`.RBUtils.coherence_limit_error`,
5+
is added and now it can take any number of qubits. It replaces the deprecated
6+
:meth:`.RBUtils.coherence_limit`, which can take only one or two qubits.
7+
Note that the names and order of the arguments have also changed.
8+
9+
.. code-block:: python
10+
11+
# New function
12+
RBUtils.coherence_limit_error(num_qubits=num_qubits, gate_length=gate_length, t1s=t1s, t2s=t2s)
13+
14+
# Deprecated method
15+
# RBUtils.coherence_limit(nQ=num_qubits, T1_list=t1s, T2_list=t2s, gatelen=gate_length)

0 commit comments

Comments
 (0)