From 682791be81e960f4e395e3b7f9c85b30f2eca53c Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Thu, 1 Apr 2021 06:50:22 -0400 Subject: [PATCH] Fix reno merge commit error --- ...transpile-convert-delay-units-07d7dc8e2956a52b.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 releasenotes/notes/transpile-convert-delay-units-07d7dc8e2956a52b.yaml diff --git a/releasenotes/notes/transpile-convert-delay-units-07d7dc8e2956a52b.yaml b/releasenotes/notes/transpile-convert-delay-units-07d7dc8e2956a52b.yaml new file mode 100644 index 000000000000..b2d57f75ecb3 --- /dev/null +++ b/releasenotes/notes/transpile-convert-delay-units-07d7dc8e2956a52b.yaml @@ -0,0 +1,10 @@ +--- +upgrade: + - | + When running :func:`~qiskit.compiler.transpile` on a + :class:`~qiskit.circuit.QuantumCircuit` with + :meth:`~qiskit.circuit.QuantumCircuit.delay` instructions, the units will + be converted to dt if the value of dt (sample time) is known to + :func:`~qiskit.compiler.transpile`, either via explicit ``dt`` kwarg or via + the :class:`~qiskit.providers.models.BackendConfiguration` for a + ``Backend`` object passed in via the ``backend`` kwarg.