qiskit_serverless.serializers.circuit_serializer

circuit_serializer(circuit)[source]

Serializes QuantumCircuit into string.

Parameters:

circuit (QuantumCircuit) – Qiskit QuantumCircuit object to serialize

Return type:

str

Returns:

circuit encoded in string