opstr_to_meas_circ

pennylane_qiskit.opstr_to_meas_circ(op_str)[source]

Takes a list of operator strings and creates a Qiskit circuit with the correct pre-measurement rotations.

Parameters

op_str (list) – List of strings representing the operators needed for measurements.

Returns

List of circuits for rotations before measurement.

Return type

list