load

pennylane_qiskit.load(quantum_circuit: QuantumCircuit)[source]

Loads a PennyLane template from a Qiskit QuantumCircuit. Warnings are created for each of the QuantumCircuit instructions that were not incorporated in the PennyLane template.

Parameters

quantum_circuit (qiskit.QuantumCircuit) – the QuantumCircuit to be converted

Returns

the resulting PennyLane template

Return type

function