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
Remove calibrations APIs and related functionality (#13861)
* Handle ScheduleBlock and pulse gates loading
* Add documentation and remove redundant code
* Limit QPY version when generating circuits for compatibility test
Fix some doc issues
* Handle QPY compatibility testing. Misc other fixes
* Update qiskit/qpy/binary_io/circuits.py
Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>
* Remove pulse from GenericBackendV2
This commit removes pulse-related functionality from GenericBackendV2, as
part of Pulse removal in Qiskit 2.0. This includes the ability to initialize
the backend with custom calibrations and query it for channel information.
Also, various clean ups where made to accommodate for the updated API of
GenericBackendV2.
* First pass
* Avoid generating pulse circuits in load_qpy & version >= 2.0
* Remove more stuff
* Add reno and some misc fixes
* Add recent changes from remove-pulse-qpy branch
* Raise QpyError when loading ScheduleBlock payloads
* Clean up TODOs
* Unify transpiler renos w.r.t pulse removal
* Remove inst_map from transpile() docstring
* Small cleanup and reno update
* Fix lint
* Applying comments from Elena's review
---------
Co-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>
returnErr(TranspilerError::new_err(format!("{} would be supported on {:?} if the direction was swapped, but no rules are known to do that. {:?} can be automatically flipped.", packed_inst.op.name(), op_args, vec!["cx","cz","ecr","swap","rzx","rxx","ryy","rzz"])));
341
337
// NOTE: Make sure to update the list of the supported gates if adding more replacements
342
338
}else{
@@ -375,36 +371,6 @@ where
375
371
Ok(dag)
376
372
}
377
373
378
-
// Check whether the dag as calibration for a DAGOpNode
379
-
fnhas_calibration_for_op_node(
380
-
py:Python,
381
-
dag:&DAGCircuit,
382
-
packed_inst:&PackedInstruction,
383
-
qargs:&[Qubit],
384
-
) -> PyResult<bool>{
385
-
let py_args = PyTuple::new(py, dag.qubits().map_indices(qargs))?;
0 commit comments