You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assembles a list of circuits into a qobj that can be run on the backend.
27
27
28
+
<Admonitiontitle="Deprecated since version 1.2"type="danger">
29
+
The function `qiskit.assembler.assemble_circuits.assemble_circuits()` is deprecated as of qiskit 1.2. It will be removed in the 2.0 release. The Qobj class and related functionality are part of the deprecated BackendV1 workflow, and no longer necessary for BackendV2. If a user workflow requires Qobj it likely relies on deprecated functionality and should be updated to use BackendV2.
30
+
</Admonition>
31
+
28
32
**Parameters**
29
33
30
34
***circuits** ([*List*](https://docs.python.org/3/library/typing.html#typing.List"(in Python v3.12)")*\[*[*QuantumCircuit*](qiskit.circuit.QuantumCircuit"qiskit.circuit.quantumcircuit.QuantumCircuit")*]*) – circuit(s) to assemble
Disassemble a qobj and return the circuits or pulse schedules, run\_config, and user header.
130
134
131
135
<Admonitiontitle="Note"type="note">
132
136
`disassemble(assemble(qc))` is not guaranteed to produce an exactly equal circuit to the input, due to limitations in the [`QasmQobj`](qiskit.qobj.QasmQobj"qiskit.qobj.QasmQobj") format that need to be maintained for backend system compatibility. This is most likely to be the case when using newer features of [`QuantumCircuit`](qiskit.circuit.QuantumCircuit"qiskit.circuit.QuantumCircuit"). In most cases, the output should be equivalent, if not quite equal.
133
137
</Admonition>
134
138
139
+
<Admonitiontitle="Deprecated since version 1.2"type="danger">
140
+
The function `qiskit.assembler.disassemble.disassemble()` is deprecated as of qiskit 1.2. It will be removed in the 2.0 release. The Qobj class and related functionality are part of the deprecated BackendV1 workflow, and no longer necessary for BackendV2. If a user workflow requires Qobj it likely relies on deprecated functionality and should be updated to use BackendV2.
141
+
</Admonition>
142
+
135
143
**Parameters**
136
144
137
145
**qobj** (*Qobj*) – The input qobj object to disassemble
A directive for circuit compilation to separate pieces of a circuit so that any optimizations or re-writes are constrained to only act between barriers.
@@ -530,7 +530,7 @@ The [`Store`](#qiskit.circuit.Store "qiskit.circuit.Store") instruction is parti
Populate the cached `_definition` field of this [`Instruction`](qiskit.circuit.Instruction"qiskit.circuit.Instruction").
684
684
685
685
Subclasses should implement this method to provide lazy construction of their public [`definition`](qiskit.circuit.Instruction#definition"qiskit.circuit.Instruction.definition") attribute. A subclass can use its [`params`](qiskit.circuit.Instruction#params"qiskit.circuit.Instruction.params") at the time of the call. The method should populate `_definition` with a [`QuantumCircuit`](qiskit.circuit.QuantumCircuit"qiskit.circuit.QuantumCircuit") and not return a value.
@@ -815,7 +815,7 @@ The default instance of [`EquivalenceLibrary`](qiskit.circuit.EquivalenceLibrary
Generate random circuit of arbitrary size and form.
820
820
821
821
This function will generate a random circuit by randomly selecting gates from the set of standard gates in `qiskit.circuit.library.standard_gates`. For example:
@@ -866,7 +866,7 @@ Almost all circuit functions and methods will raise a [`CircuitError`](#qiskit.c
0 commit comments