qrisp.jasp.Jaspr.qjit#

Jaspr.qjit(*args, function_name: str = 'jaspr_function', device=None) Any[source]#

Leverages the Catalyst pipeline to compile a QIR representation of this function and executes that function using the Catalyst QIR runtime. Requires the Catalyst package to be installed (pip install qrisp[catalyst]).

Parameters:
*argsiterable

The arguments to call the function with.

function_namestr, optional

The name given to the compiled function in the QIR module. The default is "jaspr_function".

deviceobject

The PennyLane device to execute the function. The default device is “lightning.qubit”, a fast state-vector qubit simulator.

Returns:
The values returned by the compiled, executed function.