Visual DSL Reference

Sansqrit Visual Engine

A complete user guide and cookbook for the Sansqrit drag-and-drop visual DSL: every block, every connector, every property, every generated-code pattern, and the canvas operations needed to build real scientific workflows.

0Visual Blocks
0Registry Categories
0Code Generators
0Qubit Examples

What This Page Covers

Build Visually, Run As Sansqrit

The Visual Engine is a typed canvas that turns blocks and wires into executable Sansqrit DSL. It covers quantum computing, ETL, data science, AI, molecular modeling, finance, logistics, climate, cybersecurity, networking, visualization, and automation workflows.

0
Documented Properties
0
Input Ports
0
Output Ports
0
Registry Families

Canvas Cookbook

1. Add Blocks

Open the block library, search by name or domain, then drag a block onto the canvas. Source blocks start workflows; transform blocks need wires; output blocks show results.

2. Configure Properties

Click a block to open its property panel. Numeric fields set qubits, shots, thresholds, iterations, limits, or angles. Select fields choose algorithms, formats, modes, and strategies.

3. Connect Wires

Drag from an output port to an input port. Purple ports carry quantum registers, cyan ports carry datasets, green ports carry results, and gray ports accept flexible values.

4. Align And Organize

Use align to clean a workflow after placing blocks. Keep left-to-right flow: sources first, transforms in the middle, measurements, charts, exports, or logs at the end.

5. Run And Inspect

Run compiles the graph into Sansqrit DSL, executes it, and prints logs, histograms, tables, charts, model metrics, or quantum state summaries in the output area.

6. Save And Reuse

Tabs and autosave preserve progress. Jobs create timestamped snapshots. Examples can be loaded into the canvas, studied, edited, and reused as templates.

Library

Search 600+ blocks by domain, gate, data source, model, chart, file type, or algorithm.

Quantum Register

n_qubits=120
name=q

Properties

Change category colors, tune parameters, bypass blocks, override generated code, and inspect outputs.

Connector And UI Guide

Port Direction

  • Inputs are on the left side of a block.
  • Outputs are on the right side of a block.
  • Start with source/register blocks and wire toward outputs.

Wire Meaning

  • A wire transfers the produced value into the next block.
  • The compiler uses wires to order execution.
  • Deleting a wire breaks only the data dependency, not the block.

Block Controls

  • Bypass comments the block out of generated code.
  • Try/catch keeps a workflow running when supported.
  • Print I/O helps debug intermediate values.
Port TypeMeaningTypical Source
registerQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.Quantum Register
quantumQuantum state, circuit, or qubit-level value used by quantum gate and algorithm blocks.Any compatible upstream block
datasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.CSV, Excel, JSON, SQL, XML readers
resultExecution result, histogram, table, model score, computed object, or structured output.Any compatible upstream block
numberNumeric scalar such as a qubit index, angle, shot count, threshold, loss, score, or hyperparameter.Any compatible upstream block
stringText value such as a filename, label, URL, column name, prompt, molecule name, or expression.Any compatible upstream block
anyFlexible value. The receiving block accepts the object that is compatible with its operation.Any compatible upstream block
modelMachine learning model, fitted estimator, embedding model, or algorithm object.Train/model blocks
classicalClassical bit register or classical control signal produced by measurement or control blocks.Any compatible upstream block
arrayList-like collection such as vectors, features, samples, tokens, or batched values.Any compatible upstream block
dictDictionary or JSON-style object with named fields.Any compatible upstream block

Generated Code And Execution

Each block stores metadata used by the visual compiler: an identifier, category, icon, color, parameters, input ports, output ports, and a Sansqrit code generator. When you run the canvas, the graph is topologically ordered, block parameters are substituted, connected values are referenced, and the resulting Sansqrit DSL program is executed by the interpreter.

Run

Executes the generated DSL and streams outputs, tables, charts, measurements, and logs.

Compile

Shows the generated Sansqrit code so advanced users can audit or export it.

Override

Lets a block keep its visual position while replacing its generated statement with custom DSL.

let q = qubits(120)
H(q[0])
CNOT(q[9], q[10])
let sv = statevector(q, top_n=16)
let result = measure_all(q, shots=64)
print(result.histogram)

Complete Block Catalog

Search, filter, and expand any block below. Every card is generated from the active block registry, including properties, connector types, use cases, and generated-code patterns.

No blocks match this search. Try a category name, block id, parameter key, algorithm, file type, or domain term.
šŸ”¬Algorithms32 blocks šŸ”ŒAPI Connectors16 blocks AEROApplied - Aerospace & Simulation5 blocks BIOApplied - Biomedical & Genomics20 blocks CLMApplied - Climate & Environment7 blocks FINApplied - Finance & Risk12 blocks MATApplied - Materials & Energy11 blocks MOLApplied - Molecular & Chemistry14 blocks NETApplied - Networks & Telecom3 blocks OPTApplied - Optimization & Logistics10 blocks PHYApplied - Physics & Quantum Matter11 blocks QMLApplied - Quantum ML & AI11 blocks SECApplied - Quantum Security6 blocks 🌌Astrophysics5 blocks šŸ“ŠBenchmarking5 blocks 🧬Biology & Genomics23 blocks ⬔Chemistry25 blocks ⌨Classical Control7 blocks šŸŒClimate & Environment12 blocks ☁Cloud Storage4 blocks šŸ‘Computer Vision15 blocks ⇄Data Transform15 blocks šŸ—„Databases5 blocks šŸ’ŠDrug Discovery8 blocks šŸ›”Error Mitigation5 blocks āš™Execution Control5 blocks šŸ“File Sources8 blocks Ī»Functions4 blocks ✨GenAI & LLMs24 blocks šŸ–„Hardware Export5 blocks šŸ“Logging & Debug8 blocks šŸ¤–Machine Learning27 blocks ⟔Materials Science5 blocks āˆ‘Math & Numerics17 blocks MMeasurement13 blocks šŸ„Medical Imaging4 blocks šŸ“NLP & Text AI16 blocks ~Noise Models14 blocks ⬆Optimisation18 blocks šŸ“¤Output & Display16 blocks ⚔Physics20 blocks ∿Pulse Level5 blocks šŸ›”Quantum Error Correction15 blocks šŸ“ˆQuantum Finance14 blocks āš›Quantum Gates50 blocks šŸ“¦Quantum Registers3 blocks šŸ¤–Robotics & Control12 blocks šŸ”’Security & Auth4 blocks āŠ•Sharding Engine4 blocks "String & Regex7 blocks šŸ”§Utilities18 blocks šŸ’‰Vaccine & Immunology6 blocks $Variables10 blocks
šŸ”¬

quantum_algo

Algorithms

Use this family to construct, transform, measure, simulate, export, or analyze quantum circuits and sharded registers.

32 blocks

001 / Algorithms

QFT

qft_block

Quantum Fourier Transform. O(n²) CP+H gates. Core of Shor's and QPE.

What It Does

Use QFT when you need quantum Fourier Transform. O(n²) CP+H gates. Core of Shor's and QPE.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
n_qubits
Qubits
number4Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 20
offset
Offset
number0Numeric configuration used during code generation or execution.
Range: 0 to 199
inverse
Inverse QFT
boolfalseTurns an optional behavior on or off for this block.
swap_bits
Bit reversal
booltrueSelects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

qft(q, n_qubits=4, offset=0)

002 / Algorithms

VQE

vqe_block

Variational Quantum Eigensolver. Minimises ⟨ψ(Īø)|H|ψ(Īø)⟩. Exact gradients via parameter-shift: āˆ‚f/āˆ‚Īø=[f(Īø+Ļ€/2)-f(Īø-Ļ€/2)]/2.

What It Does

Use VQE when you need variational Quantum Eigensolver. Minimises ⟨ψ(Īø)|H|ψ(Īø)⟩. Exact gradients via parameter-shift: āˆ‚f/āˆ‚Īø=[f(Īø+Ļ€/2)-f(Īø-Ļ€/2)]/2.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
hamiltonian
Hamiltonian
stringH2Configuration value used by this block when generating Sansqrit DSL code.
ansatz
Ansatz
selectUCCSDChooses from supported modes for predictable generated code.
Options: UCCSD, HEA, RealAmplitudes, EfficientSU2
n_layers
Layers
number1Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 20
optimizer
Optimizer
selectCOBYLAChooses from supported modes for predictable generated code.
Options: COBYLA, SPSA, Adam
max_iter
Max iterations
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 100000
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 1 to 100000
live_dashboard
Live dashboard
booltrueTurns an optional behavior on or off for this block.
output_var
Output
stringvqe_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • Ground state energyclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let vqe_result = vqe("H2", ansatz="UCCSD", shots=1000)

003 / Algorithms

QAOA

qaoa_block

Quantum Approximate Optimization. p layers alternating cost+mixer. MaxCut, TSP, portfolio.

What It Does

Use QAOA when you need quantum Approximate Optimization. p layers alternating cost+mixer. MaxCut, TSP, portfolio.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
cost_hamiltonian
Cost Hamiltonian
stringZZ+ZConfiguration value used by this block when generating Sansqrit DSL code.
mixer
Mixer
selectXChooses from supported modes for predictable generated code.
Options: X, XY, custom
p_layers
p layers
number1Numeric configuration used during code generation or execution.
Range: 1 to 20
optimizer
Optimizer
selectCOBYLAChooses from supported modes for predictable generated code.
Options: COBYLA, SPSA
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 100000
output_var
Output
stringqaoa_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let qaoa_result = qaoa(p=1, shots=1000)

004 / Algorithms

Grover's Search

grover_block

O(√N) oracle queries vs O(N) classical. H^N creates dense state — sparse engine minimal benefit here.

What It Does

Use Grover's Search when you need o(√N) oracle queries vs O(N) classical. H^N creates dense state — sparse engine minimal benefit here.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_qubits
Search qubits
number4Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 20
marked_states
Marked states
json[7]Configuration value used by this block when generating Sansqrit DSL code.
n_iterations
Iterations (0=auto)
number0Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 100
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 10000
output_var
Output
stringgrover_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let grover_result = grover(n_qubits=4, marked=[7])

005 / Algorithms

Shor's Algorithm

shor_block

Exponential speedup over best classical. Uses QFT + QPE. Factors N in O((log N)³) gates.

What It Does

Use Shor's Algorithm when you need exponential speedup over best classical. Uses QFT + QPE. Factors N in O((log N)³) gates.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
N
Number to factor
number15Numeric configuration used during code generation or execution.
Range: 3 to 1000000
shots
Shots
number1024Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 100000
output_var
Output
stringfactorsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let factors = shor_factor(15)

006 / Algorithms

QPE

qpe_block

Quantum Phase Estimation. Estimates eigenphase φ of unitary U|ψ⟩=e^(2Ļ€iφ)|ψ⟩.

What It Does

Use QPE when you need quantum Phase Estimation. Estimates eigenphase φ of unitary U|ψ⟩=e^(2Ļ€iφ)|ψ⟩.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_precision
Precision qubits
number4Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 20
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 100000
output_var
Output phase
stringphaseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let phase = qpe(unitary, n_precision=4)

007 / Algorithms

HHL

hhl_block

HHL linear systems Ax=b. O(log(N)κ²) vs classical O(Nκ). For ML, PDE, finance.

What It Does

Use HHL when you need hHL linear systems Ax=b. O(log(N)κ²) vs classical O(Nκ). For ML, PDE, finance.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
matrix_A
Matrix A
stringAConfiguration value used by this block when generating Sansqrit DSL code.
vector_b
Vector b
stringbConfiguration value used by this block when generating Sansqrit DSL code.
n_qubits
Register size
number4Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 20
output_var
Output
stringx_solConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let x_sol = hhl(A, b)

008 / Algorithms

Quantum SVM

qsvm_block

Quantum kernel SVM: uses circuit overlap to compute kernel matrix.

What It Does

Use Quantum SVM when you need quantum kernel SVM: uses circuit overlap to compute kernel matrix.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
feature_map
Feature map
selectZZChooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
Options: ZZ, Pauli, custom
n_features
Features
number2Chooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
Range: 1 to 20
shots
Shots
number1024Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 10000
X_train
Training data
stringX_trainConfiguration value used by this block when generating Sansqrit DSL code.
y_train
Labels
stringy_trainConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Output model
stringqsvm_modelConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let qsvm_model = qsvm(X_train, y_train)

009 / Algorithms

Quantum RNG

qrng_block

True random numbers from quantum measurement — genuinely random via quantum uncertainty.

What It Does

Use Quantum RNG when you need true random numbers from quantum measurement — genuinely random via quantum uncertainty.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_bits
Bits
number8Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 64
format
Format
selectintChooses from supported modes for predictable generated code.
Options: bits, int, float, bytes
output_var
Output
stringrand_valConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let rand_val = qrng(n_bits=8)

010 / Algorithms

Bernstein-Vazirani

bv_block

Finds hidden string s in f(x)=sĀ·x(mod2). Single oracle query vs O(n) classical.

What It Does

Use Bernstein-Vazirani when you need finds hidden string s in f(x)=sĀ·x(mod2). Single oracle query vs O(n) classical.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_qubits
Qubits
number4Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 20
secret
Secret string
string1010Configuration value used by this block when generating Sansqrit DSL code.
shots
Shots
number100Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 1 to 10000
output_var
Output
stringsecret_foundConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let secret_found = bernstein_vazirani(n=4)

011 / Algorithms

Deutsch-Jozsa

dj_block

Constant-or-balanced oracle. Single quantum query vs O(2^(n-1)+1) classical.

What It Does

Use Deutsch-Jozsa when you need constant-or-balanced oracle. Single quantum query vs O(2^(n-1)+1) classical.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_qubits
Qubits
number3Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 20
oracle
Oracle
selectbalanced_randomChooses from supported modes for predictable generated code.
Options: constant_0, constant_1, balanced_random
output_var
Output
stringdj_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let dj_result = deutsch_jozsa(n=3)

012 / Algorithms

Quantum Walk

qwalk_block

Quantum walk on graphs: quadratic speedup over classical random walk.

What It Does

Use Quantum Walk when you need quantum walk on graphs: quadratic speedup over classical random walk.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
graph
Graph
selectlineChooses from supported modes for predictable generated code.
Options: line, cycle, complete, hypercube
n_vertices
Vertices
number8Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 2 to 100
n_steps
Steps
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000
output_var
Output
stringwalk_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let walk_result = quantum_walk(graph="line", n=8)

013 / Algorithms

Quantum Teleportation

teleport_block

Transfers quantum state via entanglement + 2 classical bits. Does NOT clone (No-Cloning).

What It Does

Use Quantum Teleportation when you need transfers quantum state via entanglement + 2 classical bits. Does NOT clone (No-Cloning).

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
source
Source
qubit0Configuration value used by this block when generating Sansqrit DSL code.
epr_a
EPR qubit A
qubit1Configuration value used by this block when generating Sansqrit DSL code.
epr_b
EPR qubit B
qubit2Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output
stringtele_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let tele_result = teleport(q[0], q[1], q[2])

014 / Algorithms

Amplitude Estimation

amp_est_block

Quadratic speedup over Monte Carlo. Used in option pricing.

What It Does

Use Amplitude Estimation when you need quadratic speedup over Monte Carlo. Used in option pricing.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_eval
Eval qubits
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 20
method
Method
selectIQAEChooses the algorithmic behavior or transformation strategy.
Options: canonical, IQAE, MLAE
output_var
Output
stringamplitudeConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let amplitude = amplitude_estimation(oracle, n_eval=5)

015 / Algorithms

VQD

vqd_block

Variational Quantum Deflation: compute excited state energies by orthogonality constraint.

What It Does

Use VQD when you need variational Quantum Deflation: compute excited state energies by orthogonality constraint.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
hamiltonian
Hamiltonian
stringHConfiguration value used by this block when generating Sansqrit DSL code.
k_states
Number of states k
number3Numeric configuration used during code generation or execution.
Range: 2 to 20
ansatz
Ansatz
selectEfficientSU2Chooses from supported modes for predictable generated code.
Options: UCCSD, EfficientSU2
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 100000
output_var
Energies
stringexcited_statesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let excited_states = vqd("H", k=3)

016 / Algorithms

QITE

qite_block

Quantum Imaginary Time Evolution: e^(-βH)|ψ⟩ for state preparation.

What It Does

Use QITE when you need quantum Imaginary Time Evolution: e^(-βH)|ψ⟩ for state preparation.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
hamiltonian
Hamiltonian
stringHConfiguration value used by this block when generating Sansqrit DSL code.
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
beta
Imaginary time β
number1Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0.01 to 100
db
Step size Δβ
number0.05Numeric configuration used during code generation or execution.
Range: 0.001 to 1
output_var
Ground state
stringqite_stateConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let qite_state = qite(q, H, beta=1)

017 / Algorithms

qDRIFT

qdrift_block

Randomised first-order Hamiltonian simulation. Fewer gates than Trotterisation.

What It Does

Use qDRIFT when you need randomised first-order Hamiltonian simulation. Fewer gates than Trotterisation.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
hamiltonian_var
Hamiltonian
stringHSets a numeric boundary, size, count, or top-N selection used to bound work and output.
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
time
Simulation time t
number1Numeric configuration used during code generation or execution.
Range: 0 to 1000
n_samples
Samples N
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
output_var
Result
stringqdrift_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let qdrift_result = qdrift(q, H, t=1, N=100)

018 / Algorithms

Hamiltonian Simulation

qsim_block

Simulate quantum system time evolution: Trotter, LCU, qubitisation, QSVT.

What It Does

Use Hamiltonian Simulation when you need simulate quantum system time evolution: Trotter, LCU, qubitisation, QSVT.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
hamiltonian_var
Hamiltonian
stringHSets a numeric boundary, size, count, or top-N selection used to bound work and output.
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
time
Simulation time t
number1Numeric configuration used during code generation or execution.
Range: 0 to 1000
method
Method
selectTrotter-2Chooses the algorithmic behavior or transformation strategy.
Options: Trotter-1, Trotter-2, LCU, qubitization, QSVT
error
Target error ε
number0.001Numeric configuration used during code generation or execution.
Range: 1e-10 to 1
output_var
Final state
stringsim_stateConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let sim_state = hamiltonian_sim(q, H, t=1)

019 / Algorithms

QSVT

qsvt_block

Quantum Singular Value Transformation: unified framework for quantum algorithms.

What It Does

Use QSVT when you need quantum Singular Value Transformation: unified framework for quantum algorithms.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
block_encoding_var
Block encoding
stringblock_encConfiguration value used by this block when generating Sansqrit DSL code.
poly_coeff_var
Polynomial coefficients
stringpolyConfiguration value used by this block when generating Sansqrit DSL code.
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Output
stringqsvt_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let qsvt_result = qsvt(q, block_enc)

021 / Algorithms

Quantum Counting

quantum_counting

Count marked elements in database. Uses QPE + Grover oracle.

What It Does

Use Quantum Counting when you need count marked elements in database. Uses QPE + Grover oracle.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_qubits
Search space qubits
number5Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 20
n_precision
Precision qubits
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 3 to 20
oracle_fn
Oracle function
stringoracleConfiguration value used by this block when generating Sansqrit DSL code.
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 10000
output_var
Count
stringcount_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let count_result = quantum_counting(n=5)

022 / Algorithms

Quantum Arithmetic

quantum_arith

Quantum adder, multiplier, comparator for arithmetic circuits.

What It Does

Use Quantum Arithmetic when you need quantum adder, multiplier, comparator for arithmetic circuits.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_bits
Bit width
number4Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 20
operation
Operation
selectaddChooses from supported modes for predictable generated code.
Options: add, subtract, multiply, compare, mod_exp
reg_a
Register A
stringaConfiguration value used by this block when generating Sansqrit DSL code.
reg_b
Register B
stringbConfiguration value used by this block when generating Sansqrit DSL code.
reg_out
Output register
stringcConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register AregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • Register BregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • ResultregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

# quantum_add(a, b, c)

023 / Algorithms

Quantum LDPC

quantum_ldpc

Quantum LDPC codes: good codes with constant rate and distance. Next-gen fault tolerance.

What It Does

Use Quantum LDPC when you need quantum LDPC codes: good codes with constant rate and distance. Next-gen fault tolerance.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_physical
Physical qubits
number144Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 4 to 10000
k_logical
Logical qubits
number12Numeric configuration used during code generation or execution.
Range: 1 to 500
output_var
Code
stringldpc_codeConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let ldpc_code = quantum_ldpc(n=144, k=12)

024 / Algorithms

QRAM

qram_block

Quantum Random Access Memory: superposition memory access. Bucket-brigade or fanout architecture.

What It Does

Use QRAM when you need quantum Random Access Memory: superposition memory access. Bucket-brigade or fanout architecture.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Classical data
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
architecture
Architecture
selectbucket_brigadeChooses from supported modes for predictable generated code.
Options: bucket_brigade, fanout, hybrid
n_address
Address qubits
number4Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 30
output_var
Quantum data
stringqramConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let qram = qram(data, n_addr=4)

025 / Algorithms

Quantum Gibbs State

variational_gibbs

Prepare Gibbs thermal state Ļāˆe^(-βH) using variational or QITE methods.

What It Does

Use Quantum Gibbs State when you need prepare Gibbs thermal state Ļāˆe^(-βH) using variational or QITE methods.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
hamiltonian
Hamiltonian
stringHConfiguration value used by this block when generating Sansqrit DSL code.
beta
Inverse temperature β
number1Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0.001 to 100
method
Method
selectvariationalChooses the algorithmic behavior or transformation strategy.
Options: variational, QITE, METTS
output_var
Gibbs state
stringgibbs_stateConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let gibbs_state = gibbs_state(H, beta=1)

026 / Algorithms

Quantum Linear System

quantum_linear_sys

VQLS: Variational Quantum Linear Solver for Ax=b without full HHL overhead.

What It Does

Use Quantum Linear System when you need vQLS: Variational Quantum Linear Solver for Ax=b without full HHL overhead.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
A_var
Matrix A
stringAConfiguration value used by this block when generating Sansqrit DSL code.
b_var
Vector b
stringbConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectVQLSChooses the algorithmic behavior or transformation strategy.
Options: HHL, VQLS, CG_quantum
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 100000
output_var
Solution
stringx_qlsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let x_qls = quantum_linear_solve(A, b)

027 / Algorithms

Quantum GAN

qgan_block

Quantum Generative Adversarial Network for quantum state generation.

What It Does

Use Quantum GAN when you need quantum Generative Adversarial Network for quantum state generation.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_qubits
Qubits
number4Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 2 to 20
n_layers
Generator layers
number3Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 20
epochs
Epochs
number500Numeric configuration used during code generation or execution.
Range: 10 to 100000
training_data_var
Training states
stringtrain_statesConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Generator
stringqgan_genConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let qgan_gen = qgan(n_qubits=4, epochs=500)

028 / Algorithms

Classical Shadows

shadow_tomo

Efficient property estimation via classical shadows: O(log M) snapshots for M observables.

What It Does

Use Classical Shadows when you need efficient property estimation via classical shadows: O(log M) snapshots for M observables.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
shadow_type
Shadow type
selectPauliChooses the algorithmic behavior or transformation strategy.
Options: Pauli, Clifford, matchgate
n_shadows
Snapshots K
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 100000
observables
Observables
json["Z0","Z1","Z0Z1"]Configuration value used by this block when generating Sansqrit DSL code.
output_var
Estimates
stringshadow_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let shadow_result = classical_shadows(q, K=100)

029 / Algorithms

Quantum Bootstrap

quantum_bootstrap

Statistical bootstrapping for quantum measurement uncertainties.

What It Does

Use Quantum Bootstrap when you need statistical bootstrapping for quantum measurement uncertainties.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
measurement_var
Measurement results
stringresultsConfiguration value used by this block when generating Sansqrit DSL code.
n_bootstrap
Bootstrap samples
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 100 to 100000
confidence
Confidence interval
number0.95Numeric configuration used during code generation or execution.
Range: 0.5 to 0.9999
output_var
CI bounds
stringbootstrap_ciConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let bootstrap_ci = quantum_bootstrap(results, n=1000)

030 / Algorithms

Quantum Kernel

quant_kernel

Compute quantum kernel matrix K(xįµ¢,xā±¼)=|āŸØĻ†(xįµ¢)|φ(xā±¼)⟩|² for ML.

What It Does

Use Quantum Kernel when you need compute quantum kernel matrix K(xįµ¢,xā±¼)=|āŸØĻ†(xįµ¢)|φ(xā±¼)⟩|² for ML.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
X_var
Input data
stringXConfiguration value used by this block when generating Sansqrit DSL code.
feature_map
Feature map
selectZZFeatureMapChooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
Options: ZZFeatureMap, PauliFeatureMap, Custom
n_qubits
Qubits
number4Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 20
reps
Repetitions
number2Numeric configuration used during code generation or execution.
Range: 1 to 10
output_var
Kernel matrix
stringKConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let K = quantum_kernel(X, map="ZZFeatureMap")

031 / Algorithms

Many-Body Localisation

mbl_sim

Simulate many-body localisation phase transition in disordered spin chains.

What It Does

Use Many-Body Localisation when you need simulate many-body localisation phase transition in disordered spin chains.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_spins
Spins
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 4 to 30
disorder_W
Disorder W
number2.5Numeric configuration used during code generation or execution.
Range: 0 to 20
J_coupling
Coupling J
number1Numeric configuration used during code generation or execution.
Range: 0 to 10
n_time_steps
Time steps
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
output_var
Entanglement entropy
stringmbl_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let mbl_result = mbl_sim(n=10, W=2.5)

032 / Algorithms

VQLS

vqls_block

Variational Quantum Linear Solver: hybrid approach for linear systems without QRAM.

What It Does

Use VQLS when you need variational Quantum Linear Solver: hybrid approach for linear systems without QRAM.

Canvas color: #2563EB. Category: quantum_algo.

How To Use

  1. Drag the block from Algorithms into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
A_var
Matrix A (Pauli decomp)
stringA_pauliConfiguration value used by this block when generating Sansqrit DSL code.
b_state_var
b state circuit
stringb_circuitConfiguration value used by this block when generating Sansqrit DSL code.
ansatz
Ansatz
selectEfficientSU2Chooses from supported modes for predictable generated code.
Options: EfficientSU2, TwoLocal
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 100000
output_var
Solution state
stringvqls_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let vqls_result = vqls(A_pauli, b_circuit)
šŸ”Œ

api

API Connectors

Use this family to connect visual programs to APIs, notifications, services, and integration endpoints.

16 blocks

001 / API Connectors

HTTP GET

http_get

HTTP GET with headers, query params, timeout, retry.

What It Does

Use HTTP GET when you need hTTP GET with headers, query params, timeout, retry.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
url
URL
stringhttps://api.example.com/dataPoints to an external service or local API endpoint. Check credentials and network access before running.
headers
Headers
json{}Configuration value used by this block when generating Sansqrit DSL code.
params
Query params
json{}Configuration value used by this block when generating Sansqrit DSL code.
timeout_ms
Timeout (ms)
number30000Numeric configuration used during code generation or execution.
Range: 100 to 300000
retries
Retries
number3Numeric configuration used during code generation or execution.
Range: 0 to 10
output_var
Output variable
stringresponseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let response = http_get("https://api.example.com/data")

002 / API Connectors

HTTP POST

http_post

HTTP POST with JSON or form body.

What It Does

Use HTTP POST when you need hTTP POST with JSON or form body.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
url
URL
stringhttps://api.example.com/submitPoints to an external service or local API endpoint. Check credentials and network access before running.
headers
Headers
json{"Content-Type":"application/json"}Configuration value used by this block when generating Sansqrit DSL code.
body_var
Body variable
stringpayloadConfiguration value used by this block when generating Sansqrit DSL code.
body_type
Body type
selectjsonChooses the algorithmic behavior or transformation strategy.
Options: json, form, multipart
timeout_ms
Timeout (ms)
number30000Numeric configuration used during code generation or execution.
Range: 100 to 300000
output_var
Output variable
stringresponseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let response = http_post("https://api.example.com/submit", payload)

003 / API Connectors

GraphQL

graphql_block

Execute GraphQL queries and mutations.

What It Does

Use GraphQL when you need execute GraphQL queries and mutations.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
endpoint
GraphQL endpoint
stringhttps://api.example.com/graphqlPoints to an external service or local API endpoint. Check credentials and network access before running.
query
GraphQL query
codequery { user { id name } }Raw code text interpreted by the Sansqrit DSL runtime.
variables
Variables
json{}Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output
stringgql_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let gql_result = graphql("https://api.example.com/graphql", `query { user { id name } }`)

004 / API Connectors

Webhook Sender

webhook_block

POST to webhook URL (Slack, Discord, Teams, custom).

What It Does

Use Webhook Sender when you need pOST to webhook URL (Slack, Discord, Teams, custom).

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
webhook_url
Webhook URL
stringemptyPoints to an external service or local API endpoint. Check credentials and network access before running.
payload_var
Payload variable
stringmessageConfiguration value used by this block when generating Sansqrit DSL code.
platform
Platform
selectSlackChooses from supported modes for predictable generated code.
Options: generic, Slack, Discord, Teams
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

webhook_post("", message)

005 / API Connectors

Apache Kafka

kafka_block

Produce and consume Kafka messages.

What It Does

Use Apache Kafka when you need produce and consume Kafka messages.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
broker
Broker
stringlocalhost:9092Configuration value used by this block when generating Sansqrit DSL code.
topic
Topic
stringsanskrit-eventsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
operation
Operation
selectproduceChooses from supported modes for predictable generated code.
Options: produce, consume
message_var
Message variable
stringmsgConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Output
stringkafka_msgConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let kafka_msg = kafka_produce("sanskrit-events", msg)

006 / API Connectors

Email (SMTP)

email_block

Send email via SMTP. Supports HTML body, attachments.

What It Does

Use Email (SMTP) when you need send email via SMTP. Supports HTML body, attachments.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
to
To address
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
subject
Subject
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
body_var
Body variable
stringemail_bodyConfiguration value used by this block when generating Sansqrit DSL code.
html
HTML body
booltrueTurns an optional behavior on or off for this block.
smtp_host_var
SMTP host env var
stringSMTP_HOSTConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

send_email("", "", email_body)

007 / API Connectors

gRPC Client

grpc_block

Call gRPC services with protobuf message serialisation.

What It Does

Use gRPC Client when you need call gRPC services with protobuf message serialisation.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
endpoint
gRPC endpoint
stringlocalhost:50051Points to an external service or local API endpoint. Check credentials and network access before running.
service
Service name
stringMyServiceConfiguration value used by this block when generating Sansqrit DSL code.
method
RPC method
stringGetDataChooses the algorithmic behavior or transformation strategy.
request_var
Request message
stringrequestConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Response
stringgrpc_responseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let grpc_response = grpc_call("localhost:50051", "MyService.GetData", request)

008 / API Connectors

MQTT

mqtt_block

IoT messaging: publish/subscribe to MQTT broker.

What It Does

Use MQTT when you need ioT messaging: publish/subscribe to MQTT broker.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
broker
MQTT broker
stringmqtt://localhost:1883Configuration value used by this block when generating Sansqrit DSL code.
topic
Topic
stringsanskrit/resultsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
operation
Operation
selectpublishChooses from supported modes for predictable generated code.
Options: publish, subscribe, listen
payload_var
Payload
stringmessageConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Received message
stringmqtt_msgConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let mqtt_msg = mqtt_publish("mqtt://localhost:1883", "sanskrit/results")

009 / API Connectors

WebSocket Client

websocket_client

WebSocket client for real-time bidirectional communication.

What It Does

Use WebSocket Client when you need webSocket client for real-time bidirectional communication.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
url
WebSocket URL
stringws://localhost:8080Points to an external service or local API endpoint. Check credentials and network access before running.
message_var
Message to send
stringmsgConfiguration value used by this block when generating Sansqrit DSL code.
timeout_ms
Timeout (ms)
number30000Numeric configuration used during code generation or execution.
Range: 100 to 300000
output_var
Response
stringws_responseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ws_response = ws_send("ws://localhost:8080", msg)

010 / API Connectors

S3 Streaming Upload

s3_stream

Stream-upload large files to S3 using multipart upload.

What It Does

Use S3 Streaming Upload when you need stream-upload large files to S3 using multipart upload.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringlarge_dataConfiguration value used by this block when generating Sansqrit DSL code.
bucket
S3 bucket
stringmy-bucketConfiguration value used by this block when generating Sansqrit DSL code.
key
Object key
stringoutput/result.parquetConfiguration value used by this block when generating Sansqrit DSL code.
part_size_mb
Part size (MB)
number10Numeric configuration used during code generation or execution.
Range: 5 to 5000
output_var
Upload result
strings3_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let s3_result = s3_stream_upload("my-bucket", "output/result.parquet", large_data)

011 / API Connectors

SFTP

sftp_block

Secure file transfer via SFTP.

What It Does

Use SFTP when you need secure file transfer via SFTP.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
host
Hostname
stringsftp.example.comConfiguration value used by this block when generating Sansqrit DSL code.
port
Port
number22Numeric configuration used during code generation or execution.
Range: 1 to 65535
username_var
Username env var
stringSFTP_USERNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
key_file_var
Key file env var
stringSFTP_KEYPoints to local or uploaded data. Use the upload/data controls when working with local files.
operation
Operation
selectuploadChooses from supported modes for predictable generated code.
Options: upload, download, list, delete
remote_path
Remote path
string/data/Points to local or uploaded data. Use the upload/data controls when working with local files.
local_path
Local path
string./output.csvPoints to local or uploaded data. Use the upload/data controls when working with local files.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

sftp_upload("sftp.example.com", "/data/", "./output.csv")

012 / API Connectors

Prometheus Push

prometheus_push

Push metrics to Prometheus Pushgateway.

What It Does

Use Prometheus Push when you need push metrics to Prometheus Pushgateway.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
pushgateway_url
Pushgateway URL
stringhttp://localhost:9091Points to an external service or local API endpoint. Check credentials and network access before running.
job_name
Job name
stringsanskrit_experimentNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
metric_name
Metric name
stringvqe_energyNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
value_var
Value
stringenergyConfiguration value used by this block when generating Sansqrit DSL code.
labels_var
Labels dict
stringlabelsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

prometheus_push("vqe_energy", energy)

013 / API Connectors

Slack Notification

slack_message

Send formatted Slack message with blocks and attachments.

What It Does

Use Slack Notification when you need send formatted Slack message with blocks and attachments.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
channel
Channel
string#experimentsConfiguration value used by this block when generating Sansqrit DSL code.
message_var
Message text
stringmsgConfiguration value used by this block when generating Sansqrit DSL code.
use_blocks
Use Block Kit
boolfalseTurns an optional behavior on or off for this block.
webhook_var
Webhook env var
stringSLACK_WEBHOOKConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • Message timestampclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

slack_send("#experiments", msg)

014 / API Connectors

arXiv Fetch

arxiv_fetch

Fetch paper metadata and abstracts from arXiv API.

What It Does

Use arXiv Fetch when you need fetch paper metadata and abstracts from arXiv API.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
query
Search query
stringquantum error correction 2025Configuration value used by this block when generating Sansqrit DSL code.
max_results
Max results
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 200
sort_by
Sort by
selectrelevanceChooses from supported modes for predictable generated code.
Options: relevance, lastUpdatedDate, submittedDate
output_var
Papers
stringarxiv_papersConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let arxiv_papers = arxiv_search("quantum error correction 2025", n=10)

015 / API Connectors

PubMed Fetch

pubmed_fetch

Fetch biomedical literature from NCBI PubMed.

What It Does

Use PubMed Fetch when you need fetch biomedical literature from NCBI PubMed.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
query
Search query
stringCRISPR cancer therapyConfiguration value used by this block when generating Sansqrit DSL code.
max_results
Max results
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000
email
NCBI email (required)
stringuser@example.comConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Articles
stringpubmed_resultsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let pubmed_results = pubmed_search("CRISPR cancer therapy", n=10)

016 / API Connectors

Discord Webhook

discord_block

Send notifications to Discord channel via webhook.

What It Does

Use Discord Webhook when you need send notifications to Discord channel via webhook.

Canvas color: #0284C7. Category: api.

How To Use

  1. Drag the block from API Connectors into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
webhook_var
Webhook env var
stringDISCORD_WEBHOOKConfiguration value used by this block when generating Sansqrit DSL code.
content_var
Message content
stringmsgConfiguration value used by this block when generating Sansqrit DSL code.
username
Bot username
stringSanskrit BotNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
tts
Text to speech
boolfalseTurns an optional behavior on or off for this block.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

discord_send(msg)
AERO

domain_aerospace

Applied - Aerospace & Simulation

Use this family to build prediction, embedding, agent, model-evaluation, and learning workflows.

5 blocks

001 / Applied - Aerospace & Simulation

Satellite Orbit Optimization

applied_satellite_orbit_optimization

Optimize orbit parameters for coverage, fuel, collision risk, and mission goals. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Satellite Orbit Optimization when you need optimize orbit parameters for coverage, fuel, collision risk, and mission goals. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #475569. Category: domain_aerospace.

How To Use

  1. Drag the block from Applied - Aerospace & Simulation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_aerospaceSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringSatellite Orbit OptimizationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectLambert solverChooses the algorithmic behavior or transformation strategy.
Options: Lambert solver, Genetic optimizer, MPC station keeping, Quantum annealing
objective
Objective
stringminimize delta-vConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_68Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_68 = applied_solver(problem="Satellite Orbit Optimization", domain="domain_aerospace", method="Lambert solver", objective="minimize delta-v", samples=25)
print(result_68)

002 / Applied - Aerospace & Simulation

Spacecraft Trajectory Planning

applied_spacecraft_trajectory_planning

Plan multi-body transfers, gravity assists, launch windows, and fuel budgets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Spacecraft Trajectory Planning when you need plan multi-body transfers, gravity assists, launch windows, and fuel budgets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #475569. Category: domain_aerospace.

How To Use

  1. Drag the block from Applied - Aerospace & Simulation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_aerospaceSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringSpacecraft Trajectory PlanningNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectDirect collocationChooses the algorithmic behavior or transformation strategy.
Options: Direct collocation, Patched conics, Low-thrust optimizer, RL trajectory
objective
Objective
stringminimize fuelConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_69Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_69 = applied_solver(problem="Spacecraft Trajectory Planning", domain="domain_aerospace", method="Direct collocation", objective="minimize fuel", samples=25)
print(result_69)

003 / Applied - Aerospace & Simulation

Aerodynamic Flow Simulation CFD

applied_aerodynamic_flow_simulation_cfd

Run or surrogate CFD for lift, drag, pressure fields, and design optimization. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Aerodynamic Flow Simulation CFD when you need run or surrogate CFD for lift, drag, pressure fields, and design optimization. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #475569. Category: domain_aerospace.

How To Use

  1. Drag the block from Applied - Aerospace & Simulation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_aerospaceSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringAerodynamic Flow Simulation CFDNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectRANS surrogateChooses the algorithmic behavior or transformation strategy.
Options: RANS surrogate, LES coarse model, PINN CFD, Adjoint optimization
objective
Objective
stringmaximize lift-to-dragConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_70Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_70 = applied_solver(problem="Aerodynamic Flow Simulation CFD", domain="domain_aerospace", method="RANS surrogate", objective="maximize lift-to-drag", samples=25)
print(result_70)

004 / Applied - Aerospace & Simulation

Rocket Engine Combustion Modeling

applied_rocket_engine_combustion_modeling

Model injector mixing, chamber stability, heat flux, and performance. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Rocket Engine Combustion Modeling when you need model injector mixing, chamber stability, heat flux, and performance. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #475569. Category: domain_aerospace.

How To Use

  1. Drag the block from Applied - Aerospace & Simulation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_aerospaceSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringRocket Engine Combustion ModelingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectChemical equilibriumChooses the algorithmic behavior or transformation strategy.
Options: Chemical equilibrium, CFD surrogate, Combustion instability model, Bayesian calibration
objective
Objective
stringmaximize specific impulseConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_71Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_71 = applied_solver(problem="Rocket Engine Combustion Modeling", domain="domain_aerospace", method="Chemical equilibrium", objective="maximize specific impulse", samples=25)
print(result_71)

005 / Applied - Aerospace & Simulation

Vehicle Crash Test Simulation

applied_vehicle_crash_test_simulation

Simulate crash energy absorption, injury metrics, and structural constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Vehicle Crash Test Simulation when you need simulate crash energy absorption, injury metrics, and structural constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #475569. Category: domain_aerospace.

How To Use

  1. Drag the block from Applied - Aerospace & Simulation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_aerospaceSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringVehicle Crash Test SimulationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectFinite element surrogateChooses the algorithmic behavior or transformation strategy.
Options: Finite element surrogate, DOE response surface, Topology optimization, Bayesian calibration
objective
Objective
stringminimize injury metricConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_72Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_72 = applied_solver(problem="Vehicle Crash Test Simulation", domain="domain_aerospace", method="Finite element surrogate", objective="minimize injury metric", samples=25)
print(result_72)
BIO

domain_biomed

Applied - Biomedical & Genomics

Use this family to build prediction, embedding, agent, model-evaluation, and learning workflows.

20 blocks

001 / Applied - Biomedical & Genomics

Protein-Protein Interaction Networks

applied_protein_protein_interaction_networks

Build PPI graphs, score centrality, infer modules, and prioritize targets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Protein-Protein Interaction Networks when you need build PPI graphs, score centrality, infer modules, and prioritize targets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringProtein-Protein Interaction NetworksNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectGraph clusteringChooses the algorithmic behavior or transformation strategy.
Options: Graph clustering, Node2Vec, GNN link prediction, Network propagation
objective
Objective
stringmaximize target centralityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_26Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_26 = applied_solver(problem="Protein-Protein Interaction Networks", domain="domain_biomed", method="Graph clustering", objective="maximize target centrality", samples=25)
print(result_26)

002 / Applied - Biomedical & Genomics

Allosteric Regulation Modeling

applied_allosteric_regulation_modeling

Find allosteric sites and estimate ligand-driven conformational shifts. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Allosteric Regulation Modeling when you need find allosteric sites and estimate ligand-driven conformational shifts. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringAllosteric Regulation ModelingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMD covariance networkChooses the algorithmic behavior or transformation strategy.
Options: MD covariance network, Elastic network model, Pocket graph search, Free energy proxy
objective
Objective
stringmaximize modulation scoreConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_27Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_27 = applied_solver(problem="Allosteric Regulation Modeling", domain="domain_biomed", method="MD covariance network", objective="maximize modulation score", samples=25)
print(result_27)

003 / Applied - Biomedical & Genomics

Antibody-Antigen Binding Dynamics

applied_antibody_antigen_binding_dynamics

Rank antibody designs by affinity, epitope coverage, and developability. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Antibody-Antigen Binding Dynamics when you need rank antibody designs by affinity, epitope coverage, and developability. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringAntibody-Antigen Binding DynamicsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectRosetta interfaceChooses the algorithmic behavior or transformation strategy.
Options: Rosetta interface, MD stability proxy, Paratope GNN, Docking rescoring
objective
Objective
stringmaximize neutralization proxyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_28Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_28 = applied_solver(problem="Antibody-Antigen Binding Dynamics", domain="domain_biomed", method="Rosetta interface", objective="maximize neutralization proxy", samples=25)
print(result_28)

004 / Applied - Biomedical & Genomics

De Novo Protein Design

applied_de_novo_protein_design

Generate protein scaffolds satisfying fold, function, and stability constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use De Novo Protein Design when you need generate protein scaffolds satisfying fold, function, and stability constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringDe Novo Protein DesignNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectDiffusion designChooses the algorithmic behavior or transformation strategy.
Options: Diffusion design, RosettaDesign, ProteinMPNN, Quantum-inspired sequence search
objective
Objective
stringmaximize stability and functionConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_29Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_29 = applied_solver(problem="De Novo Protein Design", domain="domain_biomed", method="Diffusion design", objective="maximize stability and function", samples=25)
print(result_29)

005 / Applied - Biomedical & Genomics

Viral Capsid Assembly Simulation

applied_viral_capsid_assembly_simulation

Model capsid subunit assembly, energetics, defects, and inhibition points. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Viral Capsid Assembly Simulation when you need model capsid subunit assembly, energetics, defects, and inhibition points. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringViral Capsid Assembly SimulationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectCoarse-grained MDChooses the algorithmic behavior or transformation strategy.
Options: Coarse-grained MD, Kinetic assembly model, Graph assembly model, Monte Carlo
objective
Objective
stringminimize malformed assemblyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_30Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_30 = applied_solver(problem="Viral Capsid Assembly Simulation", domain="domain_biomed", method="Coarse-grained MD", objective="minimize malformed assembly", samples=25)
print(result_30)

006 / Applied - Biomedical & Genomics

Drug Toxicity Prediction

applied_drug_toxicity_prediction

Predict hERG, hepatotoxicity, mutagenicity, and safety liabilities. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Drug Toxicity Prediction when you need predict hERG, hepatotoxicity, mutagenicity, and safety liabilities. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringDrug Toxicity PredictionNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectTox21 ensembleChooses the algorithmic behavior or transformation strategy.
Options: Tox21 ensemble, Graph neural tox model, ADMET rules, Conformal predictor
objective
Objective
stringminimize toxicity riskConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_31Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_31 = applied_solver(problem="Drug Toxicity Prediction", domain="domain_biomed", method="Tox21 ensemble", objective="minimize toxicity risk", samples=25)
print(result_31)

007 / Applied - Biomedical & Genomics

In-Silico Clinical Trials

applied_in_silico_clinical_trials

Simulate virtual cohorts, endpoints, variability, and trial power. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use In-Silico Clinical Trials when you need simulate virtual cohorts, endpoints, variability, and trial power. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringIn-Silico Clinical TrialsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectAgent cohort simulationChooses the algorithmic behavior or transformation strategy.
Options: Agent cohort simulation, Bayesian trial model, PK/PD population model, Digital twin
objective
Objective
stringmaximize trial powerConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_32Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_32 = applied_solver(problem="In-Silico Clinical Trials", domain="domain_biomed", method="Agent cohort simulation", objective="maximize trial power", samples=25)
print(result_32)

008 / Applied - Biomedical & Genomics

Personalized Genomic Sequencing

applied_personalized_genomic_sequencing

Prioritize variants, pathways, pharmacogenomic flags, and clinical actionability. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Personalized Genomic Sequencing when you need prioritize variants, pathways, pharmacogenomic flags, and clinical actionability. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPersonalized Genomic SequencingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectVariant annotationChooses the algorithmic behavior or transformation strategy.
Options: Variant annotation, Polygenic risk scoring, Pathway enrichment, Rare variant burden
objective
Objective
stringmaximize actionable evidenceConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_33Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_33 = applied_solver(problem="Personalized Genomic Sequencing", domain="domain_biomed", method="Variant annotation", objective="maximize actionable evidence", samples=25)
print(result_33)

009 / Applied - Biomedical & Genomics

Metabolomics Pathway Analysis

applied_metabolomics_pathway_analysis

Map metabolites to pathways, enrichment, flux hints, and biomarkers. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Metabolomics Pathway Analysis when you need map metabolites to pathways, enrichment, flux hints, and biomarkers. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringMetabolomics Pathway AnalysisNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectPathway enrichmentChooses the algorithmic behavior or transformation strategy.
Options: Pathway enrichment, Flux balance proxy, Network propagation, Bayesian biomarker model
objective
Objective
stringmaximize biomarker confidenceConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_34Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_34 = applied_solver(problem="Metabolomics Pathway Analysis", domain="domain_biomed", method="Pathway enrichment", objective="maximize biomarker confidence", samples=25)
print(result_34)

010 / Applied - Biomedical & Genomics

Pharmacokinetics Modeling

applied_pharmacokinetics_modeling

Fit absorption, distribution, metabolism, excretion, and exposure metrics. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Pharmacokinetics Modeling when you need fit absorption, distribution, metabolism, excretion, and exposure metrics. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPharmacokinetics ModelingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectCompartment modelChooses the algorithmic behavior or transformation strategy.
Options: Compartment model, PBPK model, Population PK, Neural ODE
objective
Objective
stringmatch exposure targetConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_35Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_35 = applied_solver(problem="Pharmacokinetics Modeling", domain="domain_biomed", method="Compartment model", objective="match exposure target", samples=25)
print(result_35)

011 / Applied - Biomedical & Genomics

Pharmacodynamics Modeling

applied_pharmacodynamics_modeling

Model dose-response, Emax, EC50, biomarkers, and efficacy windows. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Pharmacodynamics Modeling when you need model dose-response, Emax, EC50, biomarkers, and efficacy windows. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPharmacodynamics ModelingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectEmax modelChooses the algorithmic behavior or transformation strategy.
Options: Emax model, Indirect response, PK/PD linked model, Bayesian dose response
objective
Objective
stringmaximize therapeutic indexConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_36Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_36 = applied_solver(problem="Pharmacodynamics Modeling", domain="domain_biomed", method="Emax model", objective="maximize therapeutic index", samples=25)
print(result_36)

012 / Applied - Biomedical & Genomics

Blood-Brain Barrier Permeability

applied_blood_brain_barrier_permeability

Predict CNS penetration from chemistry and transporter descriptors. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Blood-Brain Barrier Permeability when you need predict CNS penetration from chemistry and transporter descriptors. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringBlood-Brain Barrier PermeabilityNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectQSAR BBB modelChooses the algorithmic behavior or transformation strategy.
Options: QSAR BBB model, Graph neural classifier, Rule-based ADMET, Uncertainty ensemble
objective
Objective
stringmaximize CNS probabilityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_37Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_37 = applied_solver(problem="Blood-Brain Barrier Permeability", domain="domain_biomed", method="QSAR BBB model", objective="maximize CNS probability", samples=25)
print(result_37)

013 / Applied - Biomedical & Genomics

Drug Repurposing Screens

applied_drug_repurposing_screens

Rank existing compounds against new targets using signatures and networks. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Drug Repurposing Screens when you need rank existing compounds against new targets using signatures and networks. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringDrug Repurposing ScreensNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectConnectivity MapChooses the algorithmic behavior or transformation strategy.
Options: Connectivity Map, Knowledge graph ranking, Docking screen, Multi-omics matching
objective
Objective
stringmaximize repurposing scoreConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_38Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_38 = applied_solver(problem="Drug Repurposing Screens", domain="domain_biomed", method="Connectivity Map", objective="maximize repurposing score", samples=25)
print(result_38)

014 / Applied - Biomedical & Genomics

Vaccine Adjuvant Design

applied_vaccine_adjuvant_design

Optimize adjuvant candidates for immune activation and tolerability. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Vaccine Adjuvant Design when you need optimize adjuvant candidates for immune activation and tolerability. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringVaccine Adjuvant DesignNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectImmune response surrogateChooses the algorithmic behavior or transformation strategy.
Options: Immune response surrogate, Multi-objective screen, TLR pathway model, Bayesian optimization
objective
Objective
stringmaximize immunogenicityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_39Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_39 = applied_solver(problem="Vaccine Adjuvant Design", domain="domain_biomed", method="Immune response surrogate", objective="maximize immunogenicity", samples=25)
print(result_39)

015 / Applied - Biomedical & Genomics

CRISPR-Cas9 Target Optimization

applied_crispr_cas9_target_optimization

Design guide RNAs with on-target strength and off-target safety. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use CRISPR-Cas9 Target Optimization when you need design guide RNAs with on-target strength and off-target safety. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringCRISPR-Cas9 Target OptimizationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectAzimuth scoreChooses the algorithmic behavior or transformation strategy.
Options: Azimuth score, CFD specificity, DeepCRISPR, PAM-aware search
objective
Objective
stringmaximize specificityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_40Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_40 = applied_solver(problem="CRISPR-Cas9 Target Optimization", domain="domain_biomed", method="Azimuth score", objective="maximize specificity", samples=25)
print(result_40)

016 / Applied - Biomedical & Genomics

Microbiome Functional Analysis

applied_microbiome_functional_analysis

Infer microbial pathways, strain functions, dysbiosis, and intervention targets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Microbiome Functional Analysis when you need infer microbial pathways, strain functions, dysbiosis, and intervention targets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringMicrobiome Functional AnalysisNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMetagenomic pathway modelChooses the algorithmic behavior or transformation strategy.
Options: Metagenomic pathway model, Community FBA, Differential abundance, Graph embedding
objective
Objective
stringmaximize functional signalConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_41Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_41 = applied_solver(problem="Microbiome Functional Analysis", domain="domain_biomed", method="Metagenomic pathway model", objective="maximize functional signal", samples=25)
print(result_41)

017 / Applied - Biomedical & Genomics

Neurological Pathway Simulation

applied_neurological_pathway_simulation

Simulate neural pathways, perturbations, and therapeutic intervention points. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Neurological Pathway Simulation when you need simulate neural pathways, perturbations, and therapeutic intervention points. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringNeurological Pathway SimulationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectNeural mass modelChooses the algorithmic behavior or transformation strategy.
Options: Neural mass model, Connectome graph, ODE pathway model, Bayesian network
objective
Objective
stringminimize symptom proxyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_42Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_42 = applied_solver(problem="Neurological Pathway Simulation", domain="domain_biomed", method="Neural mass model", objective="minimize symptom proxy", samples=25)
print(result_42)

018 / Applied - Biomedical & Genomics

Cancer Immunotherapy Targeting

applied_cancer_immunotherapy_targeting

Prioritize neoantigens, checkpoints, tumor microenvironment targets, and combinations. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Cancer Immunotherapy Targeting when you need prioritize neoantigens, checkpoints, tumor microenvironment targets, and combinations. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringCancer Immunotherapy TargetingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectNeoantigen rankingChooses the algorithmic behavior or transformation strategy.
Options: Neoantigen ranking, Immune graph model, Survival model, Combination optimizer
objective
Objective
stringmaximize response probabilityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_43Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_43 = applied_solver(problem="Cancer Immunotherapy Targeting", domain="domain_biomed", method="Neoantigen ranking", objective="maximize response probability", samples=25)
print(result_43)

019 / Applied - Biomedical & Genomics

Post-Translational Modification Modeling

applied_post_translational_modification_modeling

Predict phosphorylation, glycosylation, acetylation, and downstream effects. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Post-Translational Modification Modeling when you need predict phosphorylation, glycosylation, acetylation, and downstream effects. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPost-Translational Modification ModelingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMotif modelChooses the algorithmic behavior or transformation strategy.
Options: Motif model, Kinase network model, Protein language model, Mass spec fusion
objective
Objective
stringmaximize PTM confidenceConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_44Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_44 = applied_solver(problem="Post-Translational Modification Modeling", domain="domain_biomed", method="Motif model", objective="maximize PTM confidence", samples=25)
print(result_44)

020 / Applied - Biomedical & Genomics

Protein Aggregation Dynamics

applied_protein_aggregation_dynamics

Model aggregation propensity, nucleation, fibril growth, and inhibitors. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Protein Aggregation Dynamics when you need model aggregation propensity, nucleation, fibril growth, and inhibitors. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DB2777. Category: domain_biomed.

How To Use

  1. Drag the block from Applied - Biomedical & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_biomedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringProtein Aggregation DynamicsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectCoarse-grained MDChooses the algorithmic behavior or transformation strategy.
Options: Coarse-grained MD, Kinetic nucleation model, Sequence aggregation score, Monte Carlo
objective
Objective
stringminimize aggregation riskConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_45Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_45 = applied_solver(problem="Protein Aggregation Dynamics", domain="domain_biomed", method="Coarse-grained MD", objective="minimize aggregation risk", samples=25)
print(result_45)
CLM

domain_climate

Applied - Climate & Environment

Use this family to build prediction, embedding, agent, model-evaluation, and learning workflows.

7 blocks

001 / Applied - Climate & Environment

Weather Pattern Prediction

applied_weather_pattern_prediction

Forecast weather regimes, extremes, uncertainty, and impact windows. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Weather Pattern Prediction when you need forecast weather regimes, extremes, uncertainty, and impact windows. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #166534. Category: domain_climate.

How To Use

  1. Drag the block from Applied - Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_climateSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringWeather Pattern PredictionNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectNumerical weather fusionChooses the algorithmic behavior or transformation strategy.
Options: Numerical weather fusion, Temporal transformer, Analog ensemble, Graph neural weather
objective
Objective
stringminimize forecast errorConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_101Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_101 = applied_solver(problem="Weather Pattern Prediction", domain="domain_climate", method="Numerical weather fusion", objective="minimize forecast error", samples=25)
print(result_101)

002 / Applied - Climate & Environment

Global Climate Modeling

applied_global_climate_modeling

Model climate scenarios, forcings, feedbacks, and regional outcomes. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Global Climate Modeling when you need model climate scenarios, forcings, feedbacks, and regional outcomes. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #166534. Category: domain_climate.

How To Use

  1. Drag the block from Applied - Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_climateSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringGlobal Climate ModelingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectEarth system surrogateChooses the algorithmic behavior or transformation strategy.
Options: Earth system surrogate, Energy balance model, CMIP emulator, Physics-informed ML
objective
Objective
stringminimize scenario errorConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_102Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_102 = applied_solver(problem="Global Climate Modeling", domain="domain_climate", method="Earth system surrogate", objective="minimize scenario error", samples=25)
print(result_102)

003 / Applied - Climate & Environment

Ocean Current Simulation

applied_ocean_current_simulation

Simulate circulation, eddies, transport, and coupling to atmosphere. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Ocean Current Simulation when you need simulate circulation, eddies, transport, and coupling to atmosphere. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #166534. Category: domain_climate.

How To Use

  1. Drag the block from Applied - Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_climateSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringOcean Current SimulationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectShallow water modelChooses the algorithmic behavior or transformation strategy.
Options: Shallow water model, Ocean GNN, Data assimilation, Navier-Stokes surrogate
objective
Objective
stringminimize current errorConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_103Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_103 = applied_solver(problem="Ocean Current Simulation", domain="domain_climate", method="Shallow water model", objective="minimize current error", samples=25)
print(result_103)

004 / Applied - Climate & Environment

Polar Ice Sheet Modeling

applied_polar_ice_sheet_modeling

Estimate ice dynamics, melt rates, sea-level contribution, and uncertainty. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Polar Ice Sheet Modeling when you need estimate ice dynamics, melt rates, sea-level contribution, and uncertainty. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #166534. Category: domain_climate.

How To Use

  1. Drag the block from Applied - Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_climateSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPolar Ice Sheet ModelingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectIce flow modelChooses the algorithmic behavior or transformation strategy.
Options: Ice flow model, Basal friction inversion, Climate emulator, Bayesian calibration
objective
Objective
stringminimize mass-balance errorConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_104Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_104 = applied_solver(problem="Polar Ice Sheet Modeling", domain="domain_climate", method="Ice flow model", objective="minimize mass-balance error", samples=25)
print(result_104)

005 / Applied - Climate & Environment

Urban Heat Island Mitigation

applied_urban_heat_island_mitigation

Optimize trees, albedo, shade, ventilation, and cooling interventions. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Urban Heat Island Mitigation when you need optimize trees, albedo, shade, ventilation, and cooling interventions. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #166534. Category: domain_climate.

How To Use

  1. Drag the block from Applied - Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_climateSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringUrban Heat Island MitigationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMicroclimate simulationChooses the algorithmic behavior or transformation strategy.
Options: Microclimate simulation, GIS optimization, Surrogate CFD, Multi-objective planning
objective
Objective
stringminimize heat exposureConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_105Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_105 = applied_solver(problem="Urban Heat Island Mitigation", domain="domain_climate", method="Microclimate simulation", objective="minimize heat exposure", samples=25)
print(result_105)

006 / Applied - Climate & Environment

Fertilizer Usage Optimization

applied_fertilizer_usage_optimization

Optimize fertilizer timing, yield, runoff, emissions, and cost. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Fertilizer Usage Optimization when you need optimize fertilizer timing, yield, runoff, emissions, and cost. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #166534. Category: domain_climate.

How To Use

  1. Drag the block from Applied - Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_climateSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringFertilizer Usage OptimizationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectCrop modelChooses the algorithmic behavior or transformation strategy.
Options: Crop model, Bayesian optimization, Remote sensing fusion, RL prescription
objective
Objective
stringmaximize yield per nitrogenConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_106Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_106 = applied_solver(problem="Fertilizer Usage Optimization", domain="domain_climate", method="Crop model", objective="maximize yield per nitrogen", samples=25)
print(result_106)

007 / Applied - Climate & Environment

Pesticide Molecular Design

applied_pesticide_molecular_design

Design molecules for target efficacy, environmental safety, and resistance risk. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Pesticide Molecular Design when you need design molecules for target efficacy, environmental safety, and resistance risk. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #166534. Category: domain_climate.

How To Use

  1. Drag the block from Applied - Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_climateSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPesticide Molecular DesignNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectQSAR pesticide modelChooses the algorithmic behavior or transformation strategy.
Options: QSAR pesticide model, Docking screen, Generative molecule design, Multi-objective ADMET
objective
Objective
stringmaximize efficacy and safetyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_107Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_107 = applied_solver(problem="Pesticide Molecular Design", domain="domain_climate", method="QSAR pesticide model", objective="maximize efficacy and safety", samples=25)
print(result_107)
FIN

domain_finance

Applied - Finance & Risk

Use this family to build prediction, embedding, agent, model-evaluation, and learning workflows.

12 blocks

001 / Applied - Finance & Risk

Portfolio Optimization

applied_portfolio_optimization

Optimize asset weights against return, variance, drawdown, and constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Portfolio Optimization when you need optimize asset weights against return, variance, drawdown, and constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPortfolio OptimizationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMean-varianceChooses the algorithmic behavior or transformation strategy.
Options: Mean-variance, CVaR optimizer, Black-Litterman, QAOA portfolio
objective
Objective
stringmaximize risk-adjusted returnConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_46Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_46 = applied_solver(problem="Portfolio Optimization", domain="domain_finance", method="Mean-variance", objective="maximize risk-adjusted return", samples=25)
print(result_46)

002 / Applied - Finance & Risk

Monte Carlo Option Pricing

applied_monte_carlo_option_pricing

Price derivatives with stochastic paths, Greeks, and confidence intervals. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Monte Carlo Option Pricing when you need price derivatives with stochastic paths, Greeks, and confidence intervals. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringMonte Carlo Option PricingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectBlack-Scholes MCChooses the algorithmic behavior or transformation strategy.
Options: Black-Scholes MC, Heston MC, Longstaff-Schwartz, Quantum amplitude estimation
objective
Objective
stringminimize pricing errorConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_47Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_47 = applied_solver(problem="Monte Carlo Option Pricing", domain="domain_finance", method="Black-Scholes MC", objective="minimize pricing error", samples=25)
print(result_47)

003 / Applied - Finance & Risk

Risk Management Scenario Analysis

applied_risk_management_scenario_analysis

Stress portfolios under macro, market, liquidity, and counterparty scenarios. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Risk Management Scenario Analysis when you need stress portfolios under macro, market, liquidity, and counterparty scenarios. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringRisk Management Scenario AnalysisNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectHistorical stressChooses the algorithmic behavior or transformation strategy.
Options: Historical stress, Monte Carlo VaR, Copula scenario model, Bayesian stress tree
objective
Objective
stringminimize tail lossConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_48Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_48 = applied_solver(problem="Risk Management Scenario Analysis", domain="domain_finance", method="Historical stress", objective="minimize tail loss", samples=25)
print(result_48)

004 / Applied - Finance & Risk

Credit Scoring Models

applied_credit_scoring_models

Predict default probability with explainability and fairness monitoring. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Credit Scoring Models when you need predict default probability with explainability and fairness monitoring. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringCredit Scoring ModelsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectGradient boostingChooses the algorithmic behavior or transformation strategy.
Options: Gradient boosting, Logistic scorecard, Survival model, Explainable ensemble
objective
Objective
stringmaximize AUCConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_49Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_49 = applied_solver(problem="Credit Scoring Models", domain="domain_finance", method="Gradient boosting", objective="maximize AUC", samples=25)
print(result_49)

005 / Applied - Finance & Risk

Fraud Detection Algorithms

applied_fraud_detection_algorithms

Detect anomalous payments, identity misuse, and graph fraud rings. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Fraud Detection Algorithms when you need detect anomalous payments, identity misuse, and graph fraud rings. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringFraud Detection AlgorithmsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectGraph anomaly detectionChooses the algorithmic behavior or transformation strategy.
Options: Graph anomaly detection, Isolation forest, Autoencoder, Rules plus ML
objective
Objective
stringmaximize fraud recallConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_50Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_50 = applied_solver(problem="Fraud Detection Algorithms", domain="domain_finance", method="Graph anomaly detection", objective="maximize fraud recall", samples=25)
print(result_50)

006 / Applied - Finance & Risk

Anti-Money Laundering Patterns

applied_anti_money_laundering_patterns

Find structuring, layering, mule networks, and suspicious transaction paths. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Anti-Money Laundering Patterns when you need find structuring, layering, mule networks, and suspicious transaction paths. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringAnti-Money Laundering PatternsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectTransaction graph miningChooses the algorithmic behavior or transformation strategy.
Options: Transaction graph mining, Temporal anomaly model, Community detection, Rules plus GNN
objective
Objective
stringmaximize suspicious pattern scoreConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_51Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_51 = applied_solver(problem="Anti-Money Laundering Patterns", domain="domain_finance", method="Transaction graph mining", objective="maximize suspicious pattern score", samples=25)
print(result_51)

007 / Applied - Finance & Risk

High-Frequency Trading Execution

applied_high_frequency_trading_execution

Optimize execution schedule, slippage, market impact, and latency. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use High-Frequency Trading Execution when you need optimize execution schedule, slippage, market impact, and latency. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringHigh-Frequency Trading ExecutionNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectAlmgren-ChrissChooses the algorithmic behavior or transformation strategy.
Options: Almgren-Chriss, Reinforcement learning, Order book simulator, MPC execution
objective
Objective
stringminimize implementation shortfallConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_52Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_52 = applied_solver(problem="High-Frequency Trading Execution", domain="domain_finance", method="Almgren-Chriss", objective="minimize implementation shortfall", samples=25)
print(result_52)

008 / Applied - Finance & Risk

Arbitrage Opportunity Discovery

applied_arbitrage_opportunity_discovery

Search cross-venue, triangular, statistical, and latency arbitrage candidates. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Arbitrage Opportunity Discovery when you need search cross-venue, triangular, statistical, and latency arbitrage candidates. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringArbitrage Opportunity DiscoveryNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectGraph cycle searchChooses the algorithmic behavior or transformation strategy.
Options: Graph cycle search, Cointegration, Kalman spread model, Quantum annealing
objective
Objective
stringmaximize net spreadConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_53Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_53 = applied_solver(problem="Arbitrage Opportunity Discovery", domain="domain_finance", method="Graph cycle search", objective="maximize net spread", samples=25)
print(result_53)

009 / Applied - Finance & Risk

Macroeconomic Forecasting

applied_macroeconomic_forecasting

Forecast inflation, GDP, rates, and recession probabilities with uncertainty. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Macroeconomic Forecasting when you need forecast inflation, GDP, rates, and recession probabilities with uncertainty. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringMacroeconomic ForecastingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectVARChooses the algorithmic behavior or transformation strategy.
Options: VAR, Dynamic factor model, Bayesian structural time series, Transformer forecast
objective
Objective
stringminimize forecast errorConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_54Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_54 = applied_solver(problem="Macroeconomic Forecasting", domain="domain_finance", method="VAR", objective="minimize forecast error", samples=25)
print(result_54)

010 / Applied - Finance & Risk

Regulatory Capital Calculations

applied_regulatory_capital_calculations

Compute capital under Basel, stress, exposure, and risk-weighted assets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Regulatory Capital Calculations when you need compute capital under Basel, stress, exposure, and risk-weighted assets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringRegulatory Capital CalculationsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectBasel standardizedChooses the algorithmic behavior or transformation strategy.
Options: Basel standardized, IRB model, FRTB sensitivities, Scenario aggregation
objective
Objective
stringminimize capital breachConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_55Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_55 = applied_solver(problem="Regulatory Capital Calculations", domain="domain_finance", method="Basel standardized", objective="minimize capital breach", samples=25)
print(result_55)

011 / Applied - Finance & Risk

Insurance Actuarial Risk Modeling

applied_insurance_actuarial_risk_modeling

Estimate claim frequency, severity, reserves, and solvency risk. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Insurance Actuarial Risk Modeling when you need estimate claim frequency, severity, reserves, and solvency risk. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringInsurance Actuarial Risk ModelingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectGLMChooses the algorithmic behavior or transformation strategy.
Options: GLM, Credibility model, Extreme value theory, Bayesian reserving
objective
Objective
stringminimize reserve errorConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_56Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_56 = applied_solver(problem="Insurance Actuarial Risk Modeling", domain="domain_finance", method="GLM", objective="minimize reserve error", samples=25)
print(result_56)

012 / Applied - Finance & Risk

Dynamic Asset Allocation

applied_dynamic_asset_allocation

Rebalance portfolios over horizons with regimes, costs, and risk budgets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Dynamic Asset Allocation when you need rebalance portfolios over horizons with regimes, costs, and risk budgets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #065F46. Category: domain_finance.

How To Use

  1. Drag the block from Applied - Finance & Risk into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_financeSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringDynamic Asset AllocationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMPC allocationChooses the algorithmic behavior or transformation strategy.
Options: MPC allocation, Regime switching, RL allocation, Stochastic programming
objective
Objective
stringmaximize utilityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_57Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_57 = applied_solver(problem="Dynamic Asset Allocation", domain="domain_finance", method="MPC allocation", objective="maximize utility", samples=25)
print(result_57)
MAT

domain_materials

Applied - Materials & Energy

Use this family to build prediction, embedding, agent, model-evaluation, and learning workflows.

11 blocks

001 / Applied - Materials & Energy

Catalyst Design for Nitrogen Fixation

applied_catalyst_design_for_nitrogen_fixation

Rank catalysts for N2 adsorption, activation, selectivity, and stability. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Catalyst Design for Nitrogen Fixation when you need rank catalysts for N2 adsorption, activation, selectivity, and stability. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #78716C. Category: domain_materials.

How To Use

  1. Drag the block from Applied - Materials & Energy into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_materialsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringCatalyst Design for Nitrogen FixationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectDFT descriptor screenChooses the algorithmic behavior or transformation strategy.
Options: DFT descriptor screen, Microkinetic model, Bayesian optimization, Quantum chemistry surrogate
objective
Objective
stringmaximize ammonia yieldConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_15Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_15 = applied_solver(problem="Catalyst Design for Nitrogen Fixation", domain="domain_materials", method="DFT descriptor screen", objective="maximize ammonia yield", samples=25)
print(result_15)

002 / Applied - Materials & Energy

Carbon Capture Materials

applied_carbon_capture_materials

Screen MOFs, amines, membranes, and sorbents for CO2 uptake and regeneration energy. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Carbon Capture Materials when you need screen MOFs, amines, membranes, and sorbents for CO2 uptake and regeneration energy. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #78716C. Category: domain_materials.

How To Use

  1. Drag the block from Applied - Materials & Energy into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_materialsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringCarbon Capture MaterialsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectGCMC surrogateChooses the algorithmic behavior or transformation strategy.
Options: GCMC surrogate, DFT adsorption energy, Multi-objective screening, Active learning
objective
Objective
stringmaximize CO2 selectivityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_16Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_16 = applied_solver(problem="Carbon Capture Materials", domain="domain_materials", method="GCMC surrogate", objective="maximize CO2 selectivity", samples=25)
print(result_16)

003 / Applied - Materials & Energy

High-Temperature Superconductors

applied_high_temperature_superconductors

Search composition and structure space for high Tc candidates. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use High-Temperature Superconductors when you need search composition and structure space for high Tc candidates. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #78716C. Category: domain_materials.

How To Use

  1. Drag the block from Applied - Materials & Energy into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_materialsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringHigh-Temperature SuperconductorsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectGraph neural surrogateChooses the algorithmic behavior or transformation strategy.
Options: Graph neural surrogate, Eliashberg descriptor, Bayesian composition search, Quantum many-body proxy
objective
Objective
stringmaximize predicted TcConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_17Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_17 = applied_solver(problem="High-Temperature Superconductors", domain="domain_materials", method="Graph neural surrogate", objective="maximize predicted Tc", samples=25)
print(result_17)

004 / Applied - Materials & Energy

Topological Insulator Discovery

applied_topological_insulator_discovery

Classify band topology, spin-orbit signatures, and gap robustness. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Topological Insulator Discovery when you need classify band topology, spin-orbit signatures, and gap robustness. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #78716C. Category: domain_materials.

How To Use

  1. Drag the block from Applied - Materials & Energy into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_materialsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringTopological Insulator DiscoveryNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectBand inversion screenChooses the algorithmic behavior or transformation strategy.
Options: Band inversion screen, Z2 invariant estimator, DFT workflow, Symmetry indicator
objective
Objective
stringmaximize topological gapConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_18Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_18 = applied_solver(problem="Topological Insulator Discovery", domain="domain_materials", method="Band inversion screen", objective="maximize topological gap", samples=25)
print(result_18)

005 / Applied - Materials & Energy

Nanomaterial Electronic Properties

applied_nanomaterial_electronic_properties

Predict band gaps, mobility, density of states, and defect sensitivity. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Nanomaterial Electronic Properties when you need predict band gaps, mobility, density of states, and defect sensitivity. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #78716C. Category: domain_materials.

How To Use

  1. Drag the block from Applied - Materials & Energy into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_materialsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringNanomaterial Electronic PropertiesNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectTight bindingChooses the algorithmic behavior or transformation strategy.
Options: Tight binding, DFT surrogate, Graphene k-p model, GNN property model
objective
Objective
stringmatch target band gapConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_19Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_19 = applied_solver(problem="Nanomaterial Electronic Properties", domain="domain_materials", method="Tight binding", objective="match target band gap", samples=25)
print(result_19)

006 / Applied - Materials & Energy

Polymer Synthesis Modeling

applied_polymer_synthesis_modeling

Model polymerization conditions, molecular weight distribution, and property targets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Polymer Synthesis Modeling when you need model polymerization conditions, molecular weight distribution, and property targets. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #78716C. Category: domain_materials.

How To Use

  1. Drag the block from Applied - Materials & Energy into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_materialsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPolymer Synthesis ModelingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectKinetic Monte CarloChooses the algorithmic behavior or transformation strategy.
Options: Kinetic Monte Carlo, Reaction network model, Bayesian recipe optimization, Sequence GNN
objective
Objective
stringmaximize target property scoreConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_20Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_20 = applied_solver(problem="Polymer Synthesis Modeling", domain="domain_materials", method="Kinetic Monte Carlo", objective="maximize target property score", samples=25)
print(result_20)

007 / Applied - Materials & Energy

Battery Chemistry Lithium-Sulfur

applied_battery_chemistry_lithium_sulfur

Optimize cathode, electrolyte, shuttle suppression, and cycle life. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Battery Chemistry Lithium-Sulfur when you need optimize cathode, electrolyte, shuttle suppression, and cycle life. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #78716C. Category: domain_materials.

How To Use

  1. Drag the block from Applied - Materials & Energy into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_materialsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringBattery Chemistry Lithium-SulfurNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectElectrochemical surrogateChooses the algorithmic behavior or transformation strategy.
Options: Electrochemical surrogate, DFT adsorption screen, Kinetic model, Multi-objective optimizer
objective
Objective
stringmaximize energy densityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_21Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_21 = applied_solver(problem="Battery Chemistry Lithium-Sulfur", domain="domain_materials", method="Electrochemical surrogate", objective="maximize energy density", samples=25)
print(result_21)

008 / Applied - Materials & Energy

Hydrogen Storage Material Design

applied_hydrogen_storage_material_design

Rank hydrides, MOFs, and surfaces for gravimetric/volumetric capacity. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Hydrogen Storage Material Design when you need rank hydrides, MOFs, and surfaces for gravimetric/volumetric capacity. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #78716C. Category: domain_materials.

How To Use

  1. Drag the block from Applied - Materials & Energy into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_materialsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringHydrogen Storage Material DesignNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectAdsorption descriptor screenChooses the algorithmic behavior or transformation strategy.
Options: Adsorption descriptor screen, GCMC surrogate, DFT binding energy, Pareto optimizer
objective
Objective
stringmaximize storage capacityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_22Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_22 = applied_solver(problem="Hydrogen Storage Material Design", domain="domain_materials", method="Adsorption descriptor screen", objective="maximize storage capacity", samples=25)
print(result_22)

009 / Applied - Materials & Energy

Photovoltaic Efficiency Optimization

applied_photovoltaic_efficiency_optimization

Optimize band gap, stability, carrier lifetime, and manufacturing constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Photovoltaic Efficiency Optimization when you need optimize band gap, stability, carrier lifetime, and manufacturing constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #78716C. Category: domain_materials.

How To Use

  1. Drag the block from Applied - Materials & Energy into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_materialsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPhotovoltaic Efficiency OptimizationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectShockley-Queisser proxyChooses the algorithmic behavior or transformation strategy.
Options: Shockley-Queisser proxy, Perovskite screen, Bayesian optimization, Defect-aware ML
objective
Objective
stringmaximize PCEConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_23Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_23 = applied_solver(problem="Photovoltaic Efficiency Optimization", domain="domain_materials", method="Shockley-Queisser proxy", objective="maximize PCE", samples=25)
print(result_23)

010 / Applied - Materials & Energy

Power Grid Load Balancing

applied_power_grid_load_balancing

Balance generation, storage, demand response, and reliability constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Power Grid Load Balancing when you need balance generation, storage, demand response, and reliability constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #78716C. Category: domain_materials.

How To Use

  1. Drag the block from Applied - Materials & Energy into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_materialsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPower Grid Load BalancingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectOPFChooses the algorithmic behavior or transformation strategy.
Options: OPF, Model predictive control, Reinforcement learning, Stochastic dispatch
objective
Objective
stringminimize unmet loadConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_24Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_24 = applied_solver(problem="Power Grid Load Balancing", domain="domain_materials", method="OPF", objective="minimize unmet load", samples=25)
print(result_24)

011 / Applied - Materials & Energy

Renewable Energy Forecasting

applied_renewable_energy_forecasting

Forecast solar/wind generation and uncertainty over operational horizons. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Renewable Energy Forecasting when you need forecast solar/wind generation and uncertainty over operational horizons. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #78716C. Category: domain_materials.

How To Use

  1. Drag the block from Applied - Materials & Energy into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_materialsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringRenewable Energy ForecastingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectTemporal transformerChooses the algorithmic behavior or transformation strategy.
Options: Temporal transformer, Gradient boosted forecast, Ensemble NWP fusion, Quantile regression
objective
Objective
stringminimize forecast errorConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_25Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_25 = applied_solver(problem="Renewable Energy Forecasting", domain="domain_materials", method="Temporal transformer", objective="minimize forecast error", samples=25)
print(result_25)
MOL

domain_molecular

Applied - Molecular & Chemistry

Use this family to build prediction, embedding, agent, model-evaluation, and learning workflows.

14 blocks

001 / Applied - Molecular & Chemistry

Molecular Docking

applied_molecular_docking

Rank ligand poses against protein binding pockets with docking scores and contact checks. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Molecular Docking when you need rank ligand poses against protein binding pockets with docking scores and contact checks. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringMolecular DockingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectAutoDock VinaChooses the algorithmic behavior or transformation strategy.
Options: AutoDock Vina, GNINA CNN scoring, Quantum annealed pose search, Hybrid ML rescoring
objective
Objective
stringminimize binding free energyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_1Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_1 = applied_solver(problem="Molecular Docking", domain="domain_molecular", method="AutoDock Vina", objective="minimize binding free energy", samples=25)
print(result_1)

002 / Applied - Molecular & Chemistry

Protein Folding

applied_protein_folding

Predict fold quality, contact maps, secondary structure confidence, and refinement priority. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Protein Folding when you need predict fold quality, contact maps, secondary structure confidence, and refinement priority. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringProtein FoldingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectAlphaFold style inferenceChooses the algorithmic behavior or transformation strategy.
Options: AlphaFold style inference, Rosetta fragment assembly, Quantum-inspired contact optimization, MD refinement
objective
Objective
stringmaximize fold confidenceConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_2Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_2 = applied_solver(problem="Protein Folding", domain="domain_molecular", method="AlphaFold style inference", objective="maximize fold confidence", samples=25)
print(result_2)

003 / Applied - Molecular & Chemistry

Small Molecule Binding Affinity

applied_small_molecule_binding_affinity

Estimate DeltaG, Ki/Kd, uncertainty, and lead ranking from structure or descriptors. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Small Molecule Binding Affinity when you need estimate DeltaG, Ki/Kd, uncertainty, and lead ranking from structure or descriptors. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringSmall Molecule Binding AffinityNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectQSAR ensembleChooses the algorithmic behavior or transformation strategy.
Options: QSAR ensemble, FEP approximation, Graph neural network, Docking plus MM-GBSA
objective
Objective
stringminimize DeltaGConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_3Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_3 = applied_solver(problem="Small Molecule Binding Affinity", domain="domain_molecular", method="QSAR ensemble", objective="minimize DeltaG", samples=25)
print(result_3)

004 / Applied - Molecular & Chemistry

Enzyme-Substrate Kinetics

applied_enzyme_substrate_kinetics

Fit Km, Vmax, kcat, inhibition mode, and catalytic efficiency from assay curves. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Enzyme-Substrate Kinetics when you need fit Km, Vmax, kcat, inhibition mode, and catalytic efficiency from assay curves. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringEnzyme-Substrate KineticsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMichaelis-Menten fitChooses the algorithmic behavior or transformation strategy.
Options: Michaelis-Menten fit, Bayesian kinetic model, Lineweaver-Burk robust fit, Neural ODE
objective
Objective
stringmaximize catalytic efficiencyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_4Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_4 = applied_solver(problem="Enzyme-Substrate Kinetics", domain="domain_molecular", method="Michaelis-Menten fit", objective="maximize catalytic efficiency", samples=25)
print(result_4)

006 / Applied - Molecular & Chemistry

DFT Optimization

applied_dft_optimization

Optimize molecular geometry and electronic energy with functional/basis controls. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use DFT Optimization when you need optimize molecular geometry and electronic energy with functional/basis controls. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringDFT OptimizationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectB3LYP/6-31G*Chooses the algorithmic behavior or transformation strategy.
Options: B3LYP/6-31G*, PBE0/def2-SVP, wB97X-D, Quantum VQE preconditioner
objective
Objective
stringminimize total energyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_6Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_6 = applied_solver(problem="DFT Optimization", domain="domain_molecular", method="B3LYP/6-31G*", objective="minimize total energy", samples=25)
print(result_6)

007 / Applied - Molecular & Chemistry

Hartree-Fock Method Enhancements

applied_hartree_fock_method_enhancements

Improve SCF convergence, basis selection, and post-HF correction handoff. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Hartree-Fock Method Enhancements when you need improve SCF convergence, basis selection, and post-HF correction handoff. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringHartree-Fock Method EnhancementsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectDIISChooses the algorithmic behavior or transformation strategy.
Options: DIIS, SOSCF, Density fitting, MP2 correction
objective
Objective
stringminimize SCF residualConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_7Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_7 = applied_solver(problem="Hartree-Fock Method Enhancements", domain="domain_molecular", method="DIIS", objective="minimize SCF residual", samples=25)
print(result_7)

008 / Applied - Molecular & Chemistry

Quantum Chemistry Simulations

applied_quantum_chemistry_simulations

Map fermionic Hamiltonians and run chemistry estimators on classical or quantum backends. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Chemistry Simulations when you need map fermionic Hamiltonians and run chemistry estimators on classical or quantum backends. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Chemistry SimulationsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectUCCSD VQEChooses the algorithmic behavior or transformation strategy.
Options: UCCSD VQE, QPE, ADAPT-VQE, Classical exact diagonalization
objective
Objective
stringminimize ground state energyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_8Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_8 = applied_solver(problem="Quantum Chemistry Simulations", domain="domain_molecular", method="UCCSD VQE", objective="minimize ground state energy", samples=25)
print(result_8)

009 / Applied - Molecular & Chemistry

Molecular Mechanics QM/MM Hybridization

applied_molecular_mechanics_qm_mm_hybridization

Partition reactive sites into QM region and bulk environment into MM region. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Molecular Mechanics QM/MM Hybridization when you need partition reactive sites into QM region and bulk environment into MM region. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringMolecular Mechanics QM/MM HybridizationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectONIOMChooses the algorithmic behavior or transformation strategy.
Options: ONIOM, Electrostatic embedding, Mechanical embedding, Adaptive QM/MM
objective
Objective
stringminimize boundary errorConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_9Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_9 = applied_solver(problem="Molecular Mechanics QM/MM Hybridization", domain="domain_molecular", method="ONIOM", objective="minimize boundary error", samples=25)
print(result_9)

010 / Applied - Molecular & Chemistry

Solvent-Solute Interaction Modeling

applied_solvent_solute_interaction_modeling

Estimate solvation, hydrogen bonding, and dielectric screening effects. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Solvent-Solute Interaction Modeling when you need estimate solvation, hydrogen bonding, and dielectric screening effects. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringSolvent-Solute Interaction ModelingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectPCM/SMDChooses the algorithmic behavior or transformation strategy.
Options: PCM/SMD, COSMO-RS, Explicit solvent MD, 3D-RISM
objective
Objective
stringminimize solvation free energyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_10Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_10 = applied_solver(problem="Solvent-Solute Interaction Modeling", domain="domain_molecular", method="PCM/SMD", objective="minimize solvation free energy", samples=25)
print(result_10)

011 / Applied - Molecular & Chemistry

Excitation Energy Calculations

applied_excitation_energy_calculations

Compute excited states, oscillator strengths, and spectral peaks. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Excitation Energy Calculations when you need compute excited states, oscillator strengths, and spectral peaks. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringExcitation Energy CalculationsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectTD-DFTChooses the algorithmic behavior or transformation strategy.
Options: TD-DFT, EOM-CCSD, CIS, Quantum phase estimation
objective
Objective
stringmatch target absorptionConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_11Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_11 = applied_solver(problem="Excitation Energy Calculations", domain="domain_molecular", method="TD-DFT", objective="match target absorption", samples=25)
print(result_11)

012 / Applied - Molecular & Chemistry

Non-Covalent Interaction Analysis

applied_non_covalent_interaction_analysis

Measure hydrogen bonds, pi-stacking, dispersion, and NCI surfaces. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Non-Covalent Interaction Analysis when you need measure hydrogen bonds, pi-stacking, dispersion, and NCI surfaces. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringNon-Covalent Interaction AnalysisNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectSAPTChooses the algorithmic behavior or transformation strategy.
Options: SAPT, NCI index, Energy decomposition, ML interaction map
objective
Objective
stringmaximize stabilizing interactionConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_12Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_12 = applied_solver(problem="Non-Covalent Interaction Analysis", domain="domain_molecular", method="SAPT", objective="maximize stabilizing interaction", samples=25)
print(result_12)

013 / Applied - Molecular & Chemistry

Metalloenzyme Inhibitor Design

applied_metalloenzyme_inhibitor_design

Optimize ligands for metal coordination, selectivity, and toxicity constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Metalloenzyme Inhibitor Design when you need optimize ligands for metal coordination, selectivity, and toxicity constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #059669. Category: domain_molecular.

How To Use

  1. Drag the block from Applied - Molecular & Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_molecularSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringMetalloenzyme Inhibitor DesignNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectDocking with metal constraintsChooses the algorithmic behavior or transformation strategy.
Options: Docking with metal constraints, QM cluster model, FEP rescoring, Generative design
objective
Objective
stringmaximize selectivity indexConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_13Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_13 = applied_solver(problem="Metalloenzyme Inhibitor Design", domain="domain_molecular", method="Docking with metal constraints", objective="maximize selectivity index", samples=25)
print(result_13)
NET

domain_networks

Applied - Networks & Telecom

Use this family to build prediction, embedding, agent, model-evaluation, and learning workflows.

3 blocks

001 / Applied - Networks & Telecom

Spectrum Allocation Optimization

applied_spectrum_allocation_optimization

Allocate spectrum channels under interference and policy constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Spectrum Allocation Optimization when you need allocate spectrum channels under interference and policy constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #0369A1. Category: domain_networks.

How To Use

  1. Drag the block from Applied - Networks & Telecom into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_networksSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringSpectrum Allocation OptimizationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectGraph coloringChooses the algorithmic behavior or transformation strategy.
Options: Graph coloring, Auction optimizer, MILP, QUBO allocation
objective
Objective
stringminimize interferenceConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_108Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_108 = applied_solver(problem="Spectrum Allocation Optimization", domain="domain_networks", method="Graph coloring", objective="minimize interference", samples=25)
print(result_108)

002 / Applied - Networks & Telecom

5G/6G Signal Beamforming

applied_5g_6g_signal_beamforming

Optimize beam weights, coverage, SINR, and energy efficiency. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use 5G/6G Signal Beamforming when you need optimize beam weights, coverage, SINR, and energy efficiency. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #0369A1. Category: domain_networks.

How To Use

  1. Drag the block from Applied - Networks & Telecom into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_networksSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
string5G/6G Signal BeamformingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMassive MIMO optimizerChooses the algorithmic behavior or transformation strategy.
Options: Massive MIMO optimizer, RL beam selection, Convex beamforming, Hybrid analog/digital
objective
Objective
stringmaximize SINRConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_109Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_109 = applied_solver(problem="5G/6G Signal Beamforming", domain="domain_networks", method="Massive MIMO optimizer", objective="maximize SINR", samples=25)
print(result_109)

003 / Applied - Networks & Telecom

Network Traffic Congestion Control

applied_network_traffic_congestion_control

Control traffic flows, queueing delay, throughput, and reliability. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Network Traffic Congestion Control when you need control traffic flows, queueing delay, throughput, and reliability. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #0369A1. Category: domain_networks.

How To Use

  1. Drag the block from Applied - Networks & Telecom into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_networksSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringNetwork Traffic Congestion ControlNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMPC congestion controlChooses the algorithmic behavior or transformation strategy.
Options: MPC congestion control, RL routing, Queueing model, Graph optimizer
objective
Objective
stringminimize latencyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_110Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_110 = applied_solver(problem="Network Traffic Congestion Control", domain="domain_networks", method="MPC congestion control", objective="minimize latency", samples=25)
print(result_110)
OPT

domain_optimization

Applied - Optimization & Logistics

Use this family to build prediction, embedding, agent, model-evaluation, and learning workflows.

10 blocks

001 / Applied - Optimization & Logistics

Traveling Salesman Problem

applied_traveling_salesman_problem

Solve routing tours for cost, distance, and hard constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Traveling Salesman Problem when you need solve routing tours for cost, distance, and hard constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #B45309. Category: domain_optimization.

How To Use

  1. Drag the block from Applied - Optimization & Logistics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_optimizationSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringTraveling Salesman ProblemNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
select2-opt heuristicChooses the algorithmic behavior or transformation strategy.
Options: 2-opt heuristic, Simulated annealing, MILP, QAOA
objective
Objective
stringminimize route distanceConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_58Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_58 = applied_solver(problem="Traveling Salesman Problem", domain="domain_optimization", method="2-opt heuristic", objective="minimize route distance", samples=25)
print(result_58)

002 / Applied - Optimization & Logistics

Job Shop Scheduling

applied_job_shop_scheduling

Schedule jobs across machines with precedence and resource constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Job Shop Scheduling when you need schedule jobs across machines with precedence and resource constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #B45309. Category: domain_optimization.

How To Use

  1. Drag the block from Applied - Optimization & Logistics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_optimizationSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringJob Shop SchedulingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectCP-SATChooses the algorithmic behavior or transformation strategy.
Options: CP-SAT, MILP, Tabu search, Quantum annealing
objective
Objective
stringminimize makespanConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_59Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_59 = applied_solver(problem="Job Shop Scheduling", domain="domain_optimization", method="CP-SAT", objective="minimize makespan", samples=25)
print(result_59)

003 / Applied - Optimization & Logistics

Supply Chain Route Optimization

applied_supply_chain_route_optimization

Optimize multi-echelon routes, inventory handoffs, and service levels. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Supply Chain Route Optimization when you need optimize multi-echelon routes, inventory handoffs, and service levels. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #B45309. Category: domain_optimization.

How To Use

  1. Drag the block from Applied - Optimization & Logistics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_optimizationSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringSupply Chain Route OptimizationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectVehicle routingChooses the algorithmic behavior or transformation strategy.
Options: Vehicle routing, Network flow, Stochastic programming, RL dispatch
objective
Objective
stringminimize logistics costConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_60Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_60 = applied_solver(problem="Supply Chain Route Optimization", domain="domain_optimization", method="Vehicle routing", objective="minimize logistics cost", samples=25)
print(result_60)

004 / Applied - Optimization & Logistics

Last-Mile Delivery Logistics

applied_last_mile_delivery_logistics

Plan delivery routes with time windows, capacity, and driver constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Last-Mile Delivery Logistics when you need plan delivery routes with time windows, capacity, and driver constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #B45309. Category: domain_optimization.

How To Use

  1. Drag the block from Applied - Optimization & Logistics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_optimizationSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringLast-Mile Delivery LogisticsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectVRPTWChooses the algorithmic behavior or transformation strategy.
Options: VRPTW, ALNS, Genetic algorithm, MPC routing
objective
Objective
stringminimize late deliveriesConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_61Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_61 = applied_solver(problem="Last-Mile Delivery Logistics", domain="domain_optimization", method="VRPTW", objective="minimize late deliveries", samples=25)
print(result_61)

005 / Applied - Optimization & Logistics

Air Traffic Control Management

applied_air_traffic_control_management

Resolve conflicts, sequence landings, and allocate corridors safely. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Air Traffic Control Management when you need resolve conflicts, sequence landings, and allocate corridors safely. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #B45309. Category: domain_optimization.

How To Use

  1. Drag the block from Applied - Optimization & Logistics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_optimizationSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringAir Traffic Control ManagementNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectConflict graph coloringChooses the algorithmic behavior or transformation strategy.
Options: Conflict graph coloring, MILP sequencing, MPC, Multi-agent RL
objective
Objective
stringmaximize safety marginConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_62Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_62 = applied_solver(problem="Air Traffic Control Management", domain="domain_optimization", method="Conflict graph coloring", objective="maximize safety margin", samples=25)
print(result_62)

006 / Applied - Optimization & Logistics

Paint Shop Sequence Optimization

applied_paint_shop_sequence_optimization

Optimize paint sequencing to reduce color changes and defects. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Paint Shop Sequence Optimization when you need optimize paint sequencing to reduce color changes and defects. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #B45309. Category: domain_optimization.

How To Use

  1. Drag the block from Applied - Optimization & Logistics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_optimizationSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPaint Shop Sequence OptimizationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectSequence DPChooses the algorithmic behavior or transformation strategy.
Options: Sequence DP, MILP, Local search, Constraint programming
objective
Objective
stringminimize color changesConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_63Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_63 = applied_solver(problem="Paint Shop Sequence Optimization", domain="domain_optimization", method="Sequence DP", objective="minimize color changes", samples=25)
print(result_63)

007 / Applied - Optimization & Logistics

Robotic Path Planning

applied_robotic_path_planning

Plan collision-free robot paths with dynamic obstacles and costs. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Robotic Path Planning when you need plan collision-free robot paths with dynamic obstacles and costs. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #B45309. Category: domain_optimization.

How To Use

  1. Drag the block from Applied - Optimization & Logistics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_optimizationSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringRobotic Path PlanningNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectA*Chooses the algorithmic behavior or transformation strategy.
Options: A*, RRT*, MPC, Reinforcement learning
objective
Objective
stringminimize path costConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_64Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_64 = applied_solver(problem="Robotic Path Planning", domain="domain_optimization", method="A*", objective="minimize path cost", samples=25)
print(result_64)

008 / Applied - Optimization & Logistics

Fleet Maintenance Scheduling

applied_fleet_maintenance_scheduling

Schedule predictive maintenance with downtime and parts constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Fleet Maintenance Scheduling when you need schedule predictive maintenance with downtime and parts constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #B45309. Category: domain_optimization.

How To Use

  1. Drag the block from Applied - Optimization & Logistics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_optimizationSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringFleet Maintenance SchedulingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectSurvival forecastChooses the algorithmic behavior or transformation strategy.
Options: Survival forecast, MILP scheduler, Bayesian maintenance, RL policy
objective
Objective
stringminimize downtimeConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_65Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_65 = applied_solver(problem="Fleet Maintenance Scheduling", domain="domain_optimization", method="Survival forecast", objective="minimize downtime", samples=25)
print(result_65)

009 / Applied - Optimization & Logistics

Port Terminal Logistics

applied_port_terminal_logistics

Optimize berth allocation, crane scheduling, yard stacking, and truck flows. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Port Terminal Logistics when you need optimize berth allocation, crane scheduling, yard stacking, and truck flows. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #B45309. Category: domain_optimization.

How To Use

  1. Drag the block from Applied - Optimization & Logistics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_optimizationSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPort Terminal LogisticsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectBerth MILPChooses the algorithmic behavior or transformation strategy.
Options: Berth MILP, Crane scheduling, Discrete event simulation, Digital twin
objective
Objective
stringminimize vessel turnaroundConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_66Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_66 = applied_solver(problem="Port Terminal Logistics", domain="domain_optimization", method="Berth MILP", objective="minimize vessel turnaround", samples=25)
print(result_66)

010 / Applied - Optimization & Logistics

Warehouse Layout Design

applied_warehouse_layout_design

Design slotting, pick paths, aisle layout, and throughput constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Warehouse Layout Design when you need design slotting, pick paths, aisle layout, and throughput constraints. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #B45309. Category: domain_optimization.

How To Use

  1. Drag the block from Applied - Optimization & Logistics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_optimizationSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringWarehouse Layout DesignNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectFacility layout optimizerChooses the algorithmic behavior or transformation strategy.
Options: Facility layout optimizer, Pick path simulation, Genetic algorithm, Queueing model
objective
Objective
stringmaximize throughputConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_67Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_67 = applied_solver(problem="Warehouse Layout Design", domain="domain_optimization", method="Facility layout optimizer", objective="maximize throughput", samples=25)
print(result_67)
PHY

domain_physics

Applied - Physics & Quantum Matter

Use this family to construct, transform, measure, simulate, export, or analyze quantum circuits and sharded registers.

11 blocks

001 / Applied - Physics & Quantum Matter

Lattice Quantum Chromodynamics

applied_lattice_quantum_chromodynamics

Simulate lattice QCD observables, propagators, and correlation functions. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Lattice Quantum Chromodynamics when you need simulate lattice QCD observables, propagators, and correlation functions. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #4338CA. Category: domain_physics.

How To Use

  1. Drag the block from Applied - Physics & Quantum Matter into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_physicsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringLattice Quantum ChromodynamicsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectWilson latticeChooses the algorithmic behavior or transformation strategy.
Options: Wilson lattice, Hybrid Monte Carlo, Tensor network proxy, Quantum simulation
objective
Objective
stringminimize observable errorConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_90Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_90 = applied_solver(problem="Lattice Quantum Chromodynamics", domain="domain_physics", method="Wilson lattice", objective="minimize observable error", samples=25)
print(result_90)

002 / Applied - Physics & Quantum Matter

Many-Body Localization Studies

applied_many_body_localization_studies

Analyze localization transitions, entanglement growth, and disorder scaling. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Many-Body Localization Studies when you need analyze localization transitions, entanglement growth, and disorder scaling. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #4338CA. Category: domain_physics.

How To Use

  1. Drag the block from Applied - Physics & Quantum Matter into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_physicsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringMany-Body Localization StudiesNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectExact diagonalizationChooses the algorithmic behavior or transformation strategy.
Options: Exact diagonalization, TEBD, Random circuit model, Quantum simulator
objective
Objective
stringestimate critical disorderConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_91Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_91 = applied_solver(problem="Many-Body Localization Studies", domain="domain_physics", method="Exact diagonalization", objective="estimate critical disorder", samples=25)
print(result_91)

003 / Applied - Physics & Quantum Matter

Superfluidity Dynamics

applied_superfluidity_dynamics

Model vortices, flow, excitations, and critical velocity. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Superfluidity Dynamics when you need model vortices, flow, excitations, and critical velocity. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #4338CA. Category: domain_physics.

How To Use

  1. Drag the block from Applied - Physics & Quantum Matter into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_physicsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringSuperfluidity DynamicsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectGross-PitaevskiiChooses the algorithmic behavior or transformation strategy.
Options: Gross-Pitaevskii, Bogoliubov modes, Path integral MC, Hydrodynamic surrogate
objective
Objective
stringmaximize phase coherenceConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_92Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_92 = applied_solver(problem="Superfluidity Dynamics", domain="domain_physics", method="Gross-Pitaevskii", objective="maximize phase coherence", samples=25)
print(result_92)

004 / Applied - Physics & Quantum Matter

Bose-Einstein Condensate Simulation

applied_bose_einstein_condensate_simulation

Simulate condensate wavefunctions, traps, interactions, and dynamics. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Bose-Einstein Condensate Simulation when you need simulate condensate wavefunctions, traps, interactions, and dynamics. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #4338CA. Category: domain_physics.

How To Use

  1. Drag the block from Applied - Physics & Quantum Matter into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_physicsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringBose-Einstein Condensate SimulationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectGross-PitaevskiiChooses the algorithmic behavior or transformation strategy.
Options: Gross-Pitaevskii, Split-step Fourier, Variational ansatz, Quantum simulator
objective
Objective
stringminimize energy functionalConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_93Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_93 = applied_solver(problem="Bose-Einstein Condensate Simulation", domain="domain_physics", method="Gross-Pitaevskii", objective="minimize energy functional", samples=25)
print(result_93)

005 / Applied - Physics & Quantum Matter

Quantum Phase Transition Modeling

applied_quantum_phase_transition_modeling

Estimate critical points, order parameters, and finite-size scaling. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Phase Transition Modeling when you need estimate critical points, order parameters, and finite-size scaling. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #4338CA. Category: domain_physics.

How To Use

  1. Drag the block from Applied - Physics & Quantum Matter into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_physicsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Phase Transition ModelingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectDMRGChooses the algorithmic behavior or transformation strategy.
Options: DMRG, Exact diagonalization, VQE ansatz, Tensor network
objective
Objective
stringestimate critical pointConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_94Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_94 = applied_solver(problem="Quantum Phase Transition Modeling", domain="domain_physics", method="DMRG", objective="estimate critical point", samples=25)
print(result_94)

006 / Applied - Physics & Quantum Matter

Dark Matter Detection Simulations

applied_dark_matter_detection_simulations

Model detector signals, backgrounds, rates, and discovery confidence. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Dark Matter Detection Simulations when you need model detector signals, backgrounds, rates, and discovery confidence. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #4338CA. Category: domain_physics.

How To Use

  1. Drag the block from Applied - Physics & Quantum Matter into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_physicsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringDark Matter Detection SimulationsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectPoisson likelihoodChooses the algorithmic behavior or transformation strategy.
Options: Poisson likelihood, Detector response MC, Bayesian inference, Signal/background classifier
objective
Objective
stringmaximize detection significanceConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_95Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_95 = applied_solver(problem="Dark Matter Detection Simulations", domain="domain_physics", method="Poisson likelihood", objective="maximize detection significance", samples=25)
print(result_95)

007 / Applied - Physics & Quantum Matter

Nuclear Fusion Plasma Control

applied_nuclear_fusion_plasma_control

Control plasma shape, instabilities, confinement, and heating. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Nuclear Fusion Plasma Control when you need control plasma shape, instabilities, confinement, and heating. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #4338CA. Category: domain_physics.

How To Use

  1. Drag the block from Applied - Physics & Quantum Matter into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_physicsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringNuclear Fusion Plasma ControlNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMPC controlChooses the algorithmic behavior or transformation strategy.
Options: MPC control, RL plasma controller, MHD surrogate, Tokamak digital twin
objective
Objective
stringmaximize confinement timeConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_96Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_96 = applied_solver(problem="Nuclear Fusion Plasma Control", domain="domain_physics", method="MPC control", objective="maximize confinement time", samples=25)
print(result_96)

008 / Applied - Physics & Quantum Matter

Gravitational Wave Signal Processing

applied_gravitational_wave_signal_processing

Detect waveform matches, denoise signals, and estimate source parameters. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Gravitational Wave Signal Processing when you need detect waveform matches, denoise signals, and estimate source parameters. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #4338CA. Category: domain_physics.

How To Use

  1. Drag the block from Applied - Physics & Quantum Matter into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_physicsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringGravitational Wave Signal ProcessingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMatched filteringChooses the algorithmic behavior or transformation strategy.
Options: Matched filtering, Bayesian parameter estimation, Wavelet denoising, Neural surrogate
objective
Objective
stringmaximize signal-to-noiseConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_97Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_97 = applied_solver(problem="Gravitational Wave Signal Processing", domain="domain_physics", method="Matched filtering", objective="maximize signal-to-noise", samples=25)
print(result_97)

009 / Applied - Physics & Quantum Matter

Photonic Circuit Design

applied_photonic_circuit_design

Design beam splitters, interferometers, waveguides, and integrated photonics. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Photonic Circuit Design when you need design beam splitters, interferometers, waveguides, and integrated photonics. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #4338CA. Category: domain_physics.

How To Use

  1. Drag the block from Applied - Physics & Quantum Matter into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_physicsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPhotonic Circuit DesignNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectTransfer matrixChooses the algorithmic behavior or transformation strategy.
Options: Transfer matrix, Adjoint optimization, FDTD surrogate, Quantum photonic compiler
objective
Objective
stringmaximize fidelityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_98Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_98 = applied_solver(problem="Photonic Circuit Design", domain="domain_physics", method="Transfer matrix", objective="maximize fidelity", samples=25)
print(result_98)

010 / Applied - Physics & Quantum Matter

Spintronics Material Discovery

applied_spintronics_material_discovery

Screen spin Hall angle, magnetic anisotropy, and spin transport properties. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Spintronics Material Discovery when you need screen spin Hall angle, magnetic anisotropy, and spin transport properties. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #4338CA. Category: domain_physics.

How To Use

  1. Drag the block from Applied - Physics & Quantum Matter into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_physicsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringSpintronics Material DiscoveryNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectDFT descriptorChooses the algorithmic behavior or transformation strategy.
Options: DFT descriptor, Spin transport surrogate, Bayesian materials search, Symmetry screen
objective
Objective
stringmaximize spin efficiencyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_99Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_99 = applied_solver(problem="Spintronics Material Discovery", domain="domain_physics", method="DFT descriptor", objective="maximize spin efficiency", samples=25)
print(result_99)

011 / Applied - Physics & Quantum Matter

Graphene Electronic Properties

applied_graphene_electronic_properties

Model graphene bands, defects, strain, and device-level response. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Graphene Electronic Properties when you need model graphene bands, defects, strain, and device-level response. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #4338CA. Category: domain_physics.

How To Use

  1. Drag the block from Applied - Physics & Quantum Matter into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_physicsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringGraphene Electronic PropertiesNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectTight bindingChooses the algorithmic behavior or transformation strategy.
Options: Tight binding, Dirac cone model, DFT surrogate, Transport model
objective
Objective
stringmatch mobility targetConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_100Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_100 = applied_solver(problem="Graphene Electronic Properties", domain="domain_physics", method="Tight binding", objective="match mobility target", samples=25)
print(result_100)
QML

domain_qml

Applied - Quantum ML & AI

Use this family to construct, transform, measure, simulate, export, or analyze quantum circuits and sharded registers.

11 blocks

001 / Applied - Quantum ML & AI

Quantum Support Vector Machines

applied_quantum_support_vector_machines

Classify data using quantum kernels, feature maps, and margin estimators. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Support Vector Machines when you need classify data using quantum kernels, feature maps, and margin estimators. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #6D28D9. Category: domain_qml.

How To Use

  1. Drag the block from Applied - Quantum ML & AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_qmlSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Support Vector MachinesNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectQSVM kernelChooses the algorithmic behavior or transformation strategy.
Options: QSVM kernel, Pegasos QSVC, Classical kernel baseline, Hybrid feature map
objective
Objective
stringmaximize classification marginConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_79Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_79 = applied_solver(problem="Quantum Support Vector Machines", domain="domain_qml", method="QSVM kernel", objective="maximize classification margin", samples=25)
print(result_79)

002 / Applied - Quantum ML & AI

Quantum Neural Networks

applied_quantum_neural_networks

Train parameterized quantum circuits for classification or regression. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Neural Networks when you need train parameterized quantum circuits for classification or regression. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #6D28D9. Category: domain_qml.

How To Use

  1. Drag the block from Applied - Quantum ML & AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_qmlSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Neural NetworksNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectVariational circuitChooses the algorithmic behavior or transformation strategy.
Options: Variational circuit, Data re-uploading, Hardware-efficient ansatz, Quantum natural gradient
objective
Objective
stringminimize lossConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_80Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_80 = applied_solver(problem="Quantum Neural Networks", domain="domain_qml", method="Variational circuit", objective="minimize loss", samples=25)
print(result_80)

003 / Applied - Quantum ML & AI

Quantum Boltzmann Machines

applied_quantum_boltzmann_machines

Model probability distributions with quantum energy-based networks. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Boltzmann Machines when you need model probability distributions with quantum energy-based networks. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #6D28D9. Category: domain_qml.

How To Use

  1. Drag the block from Applied - Quantum ML & AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_qmlSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Boltzmann MachinesNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectQBMChooses the algorithmic behavior or transformation strategy.
Options: QBM, Restricted Boltzmann proxy, Annealed importance sampling, Quantum annealer
objective
Objective
stringmaximize log likelihoodConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_81Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_81 = applied_solver(problem="Quantum Boltzmann Machines", domain="domain_qml", method="QBM", objective="maximize log likelihood", samples=25)
print(result_81)

004 / Applied - Quantum ML & AI

Quantum-Enhanced Feature Selection

applied_quantum_enhanced_feature_selection

Select feature subsets with quantum or annealing objective functions. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum-Enhanced Feature Selection when you need select feature subsets with quantum or annealing objective functions. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #6D28D9. Category: domain_qml.

How To Use

  1. Drag the block from Applied - Quantum ML & AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_qmlSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum-Enhanced Feature SelectionNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectQUBO selectorChooses the algorithmic behavior or transformation strategy.
Options: QUBO selector, QAOA selector, Mutual information screen, Wrapper search
objective
Objective
stringmaximize validation scoreConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_82Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_82 = applied_solver(problem="Quantum-Enhanced Feature Selection", domain="domain_qml", method="QUBO selector", objective="maximize validation score", samples=25)
print(result_82)

005 / Applied - Quantum ML & AI

Quantum Principal Component Analysis

applied_quantum_principal_component_analysis

Estimate dominant components from covariance or density-matrix encodings. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Principal Component Analysis when you need estimate dominant components from covariance or density-matrix encodings. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #6D28D9. Category: domain_qml.

How To Use

  1. Drag the block from Applied - Quantum ML & AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_qmlSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Principal Component AnalysisNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectQPCAChooses the algorithmic behavior or transformation strategy.
Options: QPCA, Classical PCA baseline, Quantum-inspired SVD, Block encoding
objective
Objective
stringmaximize explained varianceConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_83Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_83 = applied_solver(problem="Quantum Principal Component Analysis", domain="domain_qml", method="QPCA", objective="maximize explained variance", samples=25)
print(result_83)

006 / Applied - Quantum ML & AI

Quantum Clustering Algorithms

applied_quantum_clustering_algorithms

Cluster embeddings with quantum distance estimation or annealing. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Clustering Algorithms when you need cluster embeddings with quantum distance estimation or annealing. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #6D28D9. Category: domain_qml.

How To Use

  1. Drag the block from Applied - Quantum ML & AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_qmlSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Clustering AlgorithmsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectQuantum k-meansChooses the algorithmic behavior or transformation strategy.
Options: Quantum k-means, QUBO clustering, Spectral clustering, Hybrid distance kernel
objective
Objective
stringmaximize silhouette scoreConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_84Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_84 = applied_solver(problem="Quantum Clustering Algorithms", domain="domain_qml", method="Quantum k-means", objective="maximize silhouette score", samples=25)
print(result_84)

007 / Applied - Quantum ML & AI

Quantum Natural Language Processing

applied_quantum_natural_language_processing

Encode grammar and text meaning in tensor/quantum circuits. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Natural Language Processing when you need encode grammar and text meaning in tensor/quantum circuits. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #6D28D9. Category: domain_qml.

How To Use

  1. Drag the block from Applied - Quantum ML & AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_qmlSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Natural Language ProcessingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectDisCoCat circuitChooses the algorithmic behavior or transformation strategy.
Options: DisCoCat circuit, QNLP classifier, Tensor network baseline, Hybrid embedding
objective
Objective
stringmaximize semantic accuracyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_85Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_85 = applied_solver(problem="Quantum Natural Language Processing", domain="domain_qml", method="DisCoCat circuit", objective="maximize semantic accuracy", samples=25)
print(result_85)

008 / Applied - Quantum ML & AI

Quantum Image Recognition QCNN

applied_quantum_image_recognition_qcnn

Classify images with quantum convolutional or hybrid architectures. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Image Recognition QCNN when you need classify images with quantum convolutional or hybrid architectures. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #6D28D9. Category: domain_qml.

How To Use

  1. Drag the block from Applied - Quantum ML & AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_qmlSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Image Recognition QCNNNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectQCNNChooses the algorithmic behavior or transformation strategy.
Options: QCNN, Hybrid CNN-QNN, Angle encoding, Amplitude encoding
objective
Objective
stringmaximize image accuracyConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_86Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_86 = applied_solver(problem="Quantum Image Recognition QCNN", domain="domain_qml", method="QCNN", objective="maximize image accuracy", samples=25)
print(result_86)

009 / Applied - Quantum ML & AI

Quantum GANs

applied_quantum_gans

Train quantum or hybrid generators and discriminators for synthetic data. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum GANs when you need train quantum or hybrid generators and discriminators for synthetic data. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #6D28D9. Category: domain_qml.

How To Use

  1. Drag the block from Applied - Quantum ML & AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_qmlSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum GANsNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectQGANChooses the algorithmic behavior or transformation strategy.
Options: QGAN, Hybrid GAN, Born machine, Adversarial circuit
objective
Objective
stringminimize generator lossConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_87Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_87 = applied_solver(problem="Quantum GANs", domain="domain_qml", method="QGAN", objective="minimize generator loss", samples=25)
print(result_87)

010 / Applied - Quantum ML & AI

Reinforcement Learning Optimization

applied_reinforcement_learning_optimization

Optimize policies for control, scheduling, routing, or resource allocation. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Reinforcement Learning Optimization when you need optimize policies for control, scheduling, routing, or resource allocation. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #6D28D9. Category: domain_qml.

How To Use

  1. Drag the block from Applied - Quantum ML & AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_qmlSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringReinforcement Learning OptimizationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectDQNChooses the algorithmic behavior or transformation strategy.
Options: DQN, PPO, Hybrid quantum policy, Model-based RL
objective
Objective
stringmaximize rewardConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_88Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_88 = applied_solver(problem="Reinforcement Learning Optimization", domain="domain_qml", method="DQN", objective="maximize reward", samples=25)
print(result_88)

011 / Applied - Quantum ML & AI

Recommender System Engines

applied_recommender_system_engines

Recommend items with collaborative filtering, graph, and hybrid ranking. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Recommender System Engines when you need recommend items with collaborative filtering, graph, and hybrid ranking. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #6D28D9. Category: domain_qml.

How To Use

  1. Drag the block from Applied - Quantum ML & AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_qmlSets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringRecommender System EnginesNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectMatrix factorizationChooses the algorithmic behavior or transformation strategy.
Options: Matrix factorization, Graph recommender, Two-tower model, Quantum-inspired ranking
objective
Objective
stringmaximize ranking NDCGConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_89Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_89 = applied_solver(problem="Recommender System Engines", domain="domain_qml", method="Matrix factorization", objective="maximize ranking NDCG", samples=25)
print(result_89)
SEC

domain_security

Applied - Quantum Security

Use this family to construct, transform, measure, simulate, export, or analyze quantum circuits and sharded registers.

6 blocks

001 / Applied - Quantum Security

Post-Quantum Cryptography

applied_post_quantum_cryptography

Select and benchmark lattice/hash/code-based cryptographic schemes. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Post-Quantum Cryptography when you need select and benchmark lattice/hash/code-based cryptographic schemes. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DC2626. Category: domain_security.

How To Use

  1. Drag the block from Applied - Quantum Security into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_securitySets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringPost-Quantum CryptographyNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectKyber/KEM analysisChooses the algorithmic behavior or transformation strategy.
Options: Kyber/KEM analysis, Dilithium signatures, SPHINCS+, Security estimator
objective
Objective
stringmaximize security marginConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_73Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_73 = applied_solver(problem="Post-Quantum Cryptography", domain="domain_security", method="Kyber/KEM analysis", objective="maximize security margin", samples=25)
print(result_73)

002 / Applied - Quantum Security

Quantum Key Distribution

applied_quantum_key_distribution

Model BB84/E91 links, key rate, error rate, and eavesdropper detection. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Key Distribution when you need model BB84/E91 links, key rate, error rate, and eavesdropper detection. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DC2626. Category: domain_security.

How To Use

  1. Drag the block from Applied - Quantum Security into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_securitySets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Key DistributionNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectBB84 simulatorChooses the algorithmic behavior or transformation strategy.
Options: BB84 simulator, Decoy state model, E91 entanglement, Finite-key analysis
objective
Objective
stringmaximize secret key rateConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_74Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_74 = applied_solver(problem="Quantum Key Distribution", domain="domain_security", method="BB84 simulator", objective="maximize secret key rate", samples=25)
print(result_74)

003 / Applied - Quantum Security

Quantum Random Number Generation

applied_quantum_random_number_generation

Estimate entropy, bias, extractor quality, and certification metrics. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Random Number Generation when you need estimate entropy, bias, extractor quality, and certification metrics. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DC2626. Category: domain_security.

How To Use

  1. Drag the block from Applied - Quantum Security into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_securitySets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Random Number GenerationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectBeam splitter QRNGChooses the algorithmic behavior or transformation strategy.
Options: Beam splitter QRNG, Device-independent QRNG, NIST test suite, Entropy extractor
objective
Objective
stringmaximize entropy rateConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_75Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_75 = applied_solver(problem="Quantum Random Number Generation", domain="domain_security", method="Beam splitter QRNG", objective="maximize entropy rate", samples=25)
print(result_75)

004 / Applied - Quantum Security

Blind Quantum Computing

applied_blind_quantum_computing

Design delegated quantum computation with privacy and verification guarantees. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Blind Quantum Computing when you need design delegated quantum computation with privacy and verification guarantees. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DC2626. Category: domain_security.

How To Use

  1. Drag the block from Applied - Quantum Security into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_securitySets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringBlind Quantum ComputingNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectUBQC protocolChooses the algorithmic behavior or transformation strategy.
Options: UBQC protocol, Trap-based verification, Measurement-based QC, Client-server protocol
objective
Objective
stringmaximize verifiabilityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_76Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_76 = applied_solver(problem="Blind Quantum Computing", domain="domain_security", method="UBQC protocol", objective="maximize verifiability", samples=25)
print(result_76)

005 / Applied - Quantum Security

Secure Multiparty Computation

applied_secure_multiparty_computation

Build privacy-preserving aggregation, threshold protocols, and leakage checks. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Secure Multiparty Computation when you need build privacy-preserving aggregation, threshold protocols, and leakage checks. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DC2626. Category: domain_security.

How To Use

  1. Drag the block from Applied - Quantum Security into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_securitySets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringSecure Multiparty ComputationNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectSecret sharingChooses the algorithmic behavior or transformation strategy.
Options: Secret sharing, Garbled circuits, Homomorphic aggregation, MPC optimizer
objective
Objective
stringminimize leakageConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_77Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_77 = applied_solver(problem="Secure Multiparty Computation", domain="domain_security", method="Secret sharing", objective="minimize leakage", samples=25)
print(result_77)

006 / Applied - Quantum Security

Quantum Digital Signatures

applied_quantum_digital_signatures

Model signature distribution, verification thresholds, and repudiation bounds. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

What It Does

Use Quantum Digital Signatures when you need model signature distribution, verification thresholds, and repudiation bounds. Produces a ranked, table-shaped result that can feed charts, reports, exports, and downstream optimization blocks.

Canvas color: #DC2626. Category: domain_security.

How To Use

  1. Drag the block from Applied - Quantum Security into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
domain_id
Domain ID
stringdomain_securitySets a numeric boundary, size, count, or top-N selection used to bound work and output.
problem_name
Problem
stringQuantum Digital SignaturesNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
method
Method
selectQDS protocolChooses the algorithmic behavior or transformation strategy.
Options: QDS protocol, Finite-key bound, Multi-recipient verification, Security proof proxy
objective
Objective
stringmaximize authenticityConfiguration value used by this block when generating Sansqrit DSL code.
input_schema
Input schema
stringdataset, constraints, target metricsConfiguration value used by this block when generating Sansqrit DSL code.
sample_size
Candidates / samples
number25Numeric configuration used during code generation or execution.
Range: 1 to 100000
confidence_target
Confidence target
number0.9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 1
output_var
Output variable
stringresult_78Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • DatasetanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • ConstraintsanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ranked resultsdatasetTabular data frame or parsed rows from CSV, Excel, JSON, XML, SQL, or inline data blocks.
  • Summary reportclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Best scoreclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result_78 = applied_solver(problem="Quantum Digital Signatures", domain="domain_security", method="QDS protocol", objective="maximize authenticity", samples=25)
print(result_78)
🌌

astro

Astrophysics

Use this family when the workflow needs this block group as part of a larger visual program.

5 blocks

001 / Astrophysics

N-Body Simulation

nbody_sim

Gravitational N-body simulation using leapfrog or Barnes-Hut tree algorithm.

What It Does

Use N-Body Simulation when you need gravitational N-body simulation using leapfrog or Barnes-Hut tree algorithm.

Canvas color: #475569. Category: astro.

How To Use

  1. Drag the block from Astrophysics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_bodies
Bodies
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 2 to 100000
timestep
Time step (yr)
number0.01Numeric configuration used during code generation or execution.
Range: 0.000001 to 1000
n_steps
Steps
number10000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 1000000000
algorithm
Algorithm
selectBarnes-HutChooses the algorithmic behavior or transformation strategy.
Options: direct, Barnes-Hut, FMM
output_var
Output trajectory
stringtrajConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let traj = nbody(n=100, steps=10000)

002 / Astrophysics

Stellar Evolution

stellar_evolution

MESA-like stellar evolution tracks: main sequence, red giant, white dwarf.

What It Does

Use Stellar Evolution when you need mESA-like stellar evolution tracks: main sequence, red giant, white dwarf.

Canvas color: #475569. Category: astro.

How To Use

  1. Drag the block from Astrophysics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mass_solar
Mass (Mā˜‰)
number1Numeric configuration used during code generation or execution.
Range: 0.1 to 200
metallicity
Metallicity [Fe/H]
number0Numeric configuration used during code generation or execution.
Range: -3 to 1
network
Nuclear network
selectpp_cnoChooses from supported modes for predictable generated code.
Options: basic, pp_cno, full
output_var
Output tracks
stringstellar_trackConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let stellar_track = stellar_evolution(mass=1)

003 / Astrophysics

Gravitational Waves

grav_wave

GW signal from CBC. LALSuite/PyCBC match filtering and parameter estimation.

What It Does

Use Gravitational Waves when you need gW signal from CBC. LALSuite/PyCBC match filtering and parameter estimation.

Canvas color: #475569. Category: astro.

How To Use

  1. Drag the block from Astrophysics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
m1_solar
Mass 1 (Mā˜‰)
number30Numeric configuration used during code generation or execution.
Range: 1 to 1000
m2_solar
Mass 2 (Mā˜‰)
number30Numeric configuration used during code generation or execution.
Range: 1 to 1000
luminosity_dist_mpc
Distance (Mpc)
number500Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 20000
output_var
Output waveform
stringwaveformConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let waveform = grav_wave(m1=30, m2=30)

004 / Astrophysics

Cosmology

cosmology_block

ΛCDM power spectrum, correlation functions, CMB temperature anisotropies.

What It Does

Use Cosmology when you need λCDM power spectrum, correlation functions, CMB temperature anisotropies.

Canvas color: #475569. Category: astro.

How To Use

  1. Drag the block from Astrophysics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
H0
Hā‚€ (km/s/Mpc)
number67.4Numeric configuration used during code generation or execution.
Range: 50 to 100
omega_m
Ωm
number0.315Numeric configuration used during code generation or execution.
Range: 0 to 1
omega_lambda
ΩΛ
number0.685Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 1
quantity
Compute
selectpower_spectrumChooses from supported modes for predictable generated code.
Options: power_spectrum, correlation_fn, CMB_Cl, luminosity_dist
output_var
Output
stringcosmo_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let cosmo_result = cosmology(H0=67.4, omega_m=0.315)

005 / Astrophysics

Exoplanet Transit

exoplanet_block

Simulate or fit transit light curves for exoplanet detection.

What It Does

Use Exoplanet Transit when you need simulate or fit transit light curves for exoplanet detection.

Canvas color: #475569. Category: astro.

How To Use

  1. Drag the block from Astrophysics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
planet_radius_rearth
Planet radius (RāŠ•)
number1Numeric configuration used during code generation or execution.
Range: 0.1 to 20
orbital_period_days
Period (days)
number365Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0.5 to 1000
star_radius_rsun
Star radius (Rā˜‰)
number1Numeric configuration used during code generation or execution.
Range: 0.1 to 100
output_var
Output
stringtransitConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let transit = exoplanet_transit(Rp=1, P=365)
šŸ“Š

benchmark

Benchmarking

Use this family when the workflow needs this block group as part of a larger visual program.

5 blocks

001 / Benchmarking

XEB

xeb_block

Cross-Entropy Benchmarking. Compares output distribution to ideal random circuit. Google Sycamore supremacy metric.

What It Does

Use XEB when you need cross-Entropy Benchmarking. Compares output distribution to ideal random circuit. Google Sycamore supremacy metric.

Canvas color: #06B6D4. Category: benchmark.

How To Use

  1. Drag the block from Benchmarking into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_qubits
Qubits
number5Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 2 to 50
n_cycles
Cycles
number20Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 200
n_circuits
Random circuits
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
output_var
Output
stringxeb_fidelityConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let xeb_fidelity = xeb(n_qubits=5, cycles=20)

002 / Benchmarking

Randomised Benchmarking

rb_block

Gate fidelity via random Clifford circuits of increasing depth. Fit exponential decay.

What It Does

Use Randomised Benchmarking when you need gate fidelity via random Clifford circuits of increasing depth. Fit exponential decay.

Canvas color: #06B6D4. Category: benchmark.

How To Use

  1. Drag the block from Benchmarking into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_qubits
Qubits
number1Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 5
seq_lengths
Sequence lengths
json[1,10,50,100,200]Configuration value used by this block when generating Sansqrit DSL code.
n_seeds
Seeds
number20Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 5 to 500
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 100000
output_var
Output
stringrb_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let rb_result = randomised_benchmarking(n_qubits=1)

003 / Benchmarking

Process Tomography

proc_tomo

Full quantum channel characterisation. 4^n input states — exponential cost.

What It Does

Use Process Tomography when you need full quantum channel characterisation. 4^n input states — exponential cost.

Canvas color: #06B6D4. Category: benchmark.

How To Use

  1. Drag the block from Benchmarking into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_qubits
Qubits
number1Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 3
method
Method
selectMLEChooses the algorithmic behavior or transformation strategy.
Options: linear_inversion, MLE
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 100000
output_var
Output
stringprocess_matrixConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Process matrix χclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let process_matrix = process_tomography(circuit, n=1)

004 / Benchmarking

State Tomography

state_tomo

Reconstructs density matrix ρ from 3^n Pauli measurements.

What It Does

Use State Tomography when you need reconstructs density matrix ρ from 3^n Pauli measurements.

Canvas color: #06B6D4. Category: benchmark.

How To Use

  1. Drag the block from Benchmarking into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_qubits
Qubits
number2Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 5
method
Method
selectMLEChooses the algorithmic behavior or transformation strategy.
Options: linear_inversion, MLE, BME
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 100000
output_var
Output
stringrhoConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Density matrix ρclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let rho = state_tomography(q, n=2)

005 / Benchmarking

Quantum Volume

qvol_block

IBM Quantum Volume: largest square random circuit reliably executable (>2/3 heavy output).

What It Does

Use Quantum Volume when you need iBM Quantum Volume: largest square random circuit reliably executable (>2/3 heavy output).

Canvas color: #06B6D4. Category: benchmark.

How To Use

  1. Drag the block from Benchmarking into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
max_qubits
Max qubits
number7Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 50
n_trials
Trials
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 1000
output_var
Output
stringqv_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let qv_result = quantum_volume(max_qubits=7)
🧬

biology

Biology & Genomics

Use this family for molecular, biological, chemistry, genomics, docking, and scientific modeling workflows.

23 blocks

001 / Biology & Genomics

DNA Sequence

dna_seq

Load, parse, analyse DNA. GC content, melting temperature, k-mer counts.

What It Does

Use DNA Sequence when you need load, parse, analyse DNA. GC content, melting temperature, k-mer counts.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
sequence
Sequence
stringATGCGATCGConfiguration value used by this block when generating Sansqrit DSL code.
file_path
File path (FASTA)
stringemptyPoints to local or uploaded data. Use the upload/data controls when working with local files.
format
Format
selectrawChooses from supported modes for predictable generated code.
Options: raw, FASTA, FASTQ, GenBank
output_var
Output
stringdnaConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let dna = dna("ATGCGATCG")

002 / Biology & Genomics

Protein Folding

protein_fold

AlphaFold2/ColabFold structure prediction. pLDDT confidence score.

What It Does

Use Protein Folding when you need alphaFold2/ColabFold structure prediction. pLDDT confidence score.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
sequence
Protein sequence
stringMKTAYIAKQRQISFVKConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectAlphaFold2Chooses the algorithmic behavior or transformation strategy.
Options: AlphaFold2, ESMFold, OmegaFold, RoseTTAFold
use_templates
Use templates
booltrueTurns an optional behavior on or off for this block.
output_var
Output
stringprotein_structConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let protein_struct = protein_fold("MKTAYIAKQRQISFVK", method="AlphaFold2")

003 / Biology & Genomics

BLAST Search

blast_block

NCBI BLAST: find homologous sequences in databases.

What It Does

Use BLAST Search when you need nCBI BLAST: find homologous sequences in databases.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
query_seq
Query sequence
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
blast_type
BLAST type
selectblastpChooses the algorithmic behavior or transformation strategy.
Options: blastn, blastp, blastx, tblastn
database
Database
stringnrConfiguration value used by this block when generating Sansqrit DSL code.
e_value_threshold
E-value threshold
number1e-10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1e-100 to 1
output_var
Output
stringblast_hitsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let blast_hits = blast("", db="nr")

004 / Biology & Genomics

RNA Folding

rna_fold

Predict RNA secondary structure. Vienna RNAfold minimum free energy.

What It Does

Use RNA Folding when you need predict RNA secondary structure. Vienna RNAfold minimum free energy.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
rna_sequence
RNA sequence
stringAUGCAUGCAUGCConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectVienna_RNAfoldChooses the algorithmic behavior or transformation strategy.
Options: Vienna_RNAfold, mfold, RNAstructure
output_var
Output
stringrna_structConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let rna_struct = rna_fold("AUGCAUGCAUGC")

005 / Biology & Genomics

Gene Expression

gene_expression

Differential expression analysis from RNA-seq count matrices (DESeq2, edgeR, limma).

What It Does

Use Gene Expression when you need differential expression analysis from RNA-seq count matrices (DESeq2, edgeR, limma).

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
count_matrix_var
Count matrix
stringcountsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
sample_metadata
Sample metadata
stringmetadataConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectDESeq2Chooses the algorithmic behavior or transformation strategy.
Options: DESeq2, edgeR, limma
fdr_threshold
FDR threshold
number0.05Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 1
output_var
Output DE genes
stringde_genesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let de_genes = gene_expression(counts)

006 / Biology & Genomics

CRISPR Guide Design

crispr_design

Design sgRNA guides for CRISPR-Cas9. Predict on/off-target scores.

What It Does

Use CRISPR Guide Design when you need design sgRNA guides for CRISPR-Cas9. Predict on/off-target scores.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target_seq
Target sequence
stringemptySelects the qubit, bit, control, target, or helper register position used by the block.
pam
PAM sequence
stringNGGConfiguration value used by this block when generating Sansqrit DSL code.
cas_type
Cas type
selectCas9Chooses the algorithmic behavior or transformation strategy.
Options: Cas9, Cas12a, Cas13
guide_length
Guide length
number20Numeric configuration used during code generation or execution.
Range: 17 to 25
output_var
Output guides
stringguidesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let guides = crispr_design("", pam="NGG")

007 / Biology & Genomics

Sequence Alignment

seq_align

Needleman-Wunsch (global), Smith-Waterman (local), MUSCLE/MAFFT (multiple).

What It Does

Use Sequence Alignment when you need needleman-Wunsch (global), Smith-Waterman (local), MUSCLE/MAFFT (multiple).

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
seq_a
Sequence A
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
seq_b
Sequence B / file
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectSmith-WatermanChooses the algorithmic behavior or transformation strategy.
Options: Needleman-Wunsch, Smith-Waterman, MUSCLE, MAFFT
output_var
Output
stringalignmentConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let alignment = seq_align(, )

008 / Biology & Genomics

Phylogenetics

phylogenetics

Build phylogenetic tree from multiple aligned sequences.

What It Does

Use Phylogenetics when you need build phylogenetic tree from multiple aligned sequences.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
alignment_var
Alignment
stringalignmentConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectMaximum-LikelihoodChooses the algorithmic behavior or transformation strategy.
Options: Neighbor-Joining, UPGMA, Maximum-Likelihood, Bayesian
output_var
Output tree
stringtreeConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let tree = phylogenetics(alignment)

009 / Biology & Genomics

Proteomics

proteomics_block

Mass spec peptide identification and quantification.

What It Does

Use Proteomics when you need mass spec peptide identification and quantification.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
spectra_file
Spectra file
stringspectra.mzMLPoints to local or uploaded data. Use the upload/data controls when working with local files.
method
Method
selectdatabase_searchChooses the algorithmic behavior or transformation strategy.
Options: database_search, de_novo, DIA
protein_db
Protein DB
stringUniProtSets a numeric boundary, size, count, or top-N selection used to bound work and output.
output_var
Output
stringprotein_quantConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let protein_quant = proteomics("spectra.mzML")

010 / Biology & Genomics

scRNA-seq Analysis

single_cell_rna

Single-cell RNA sequencing: clustering, UMAP, marker genes.

What It Does

Use scRNA-seq Analysis when you need single-cell RNA sequencing: clustering, UMAP, marker genes.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
count_matrix_var
Count matrix
stringcountsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
tool
Tool
selectScanpyChooses from supported modes for predictable generated code.
Options: Seurat, Scanpy, Monocle3
n_pcs
PCs
number50Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 5 to 200
n_neighbors
Neighbors
number15Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 3 to 100
clustering
Clustering
selectleidenChooses from supported modes for predictable generated code.
Options: leiden, louvain, kmeans
output_var
Cell clusters
stringsc_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sc_result = scrna_analysis(counts)

011 / Biology & Genomics

Drug-Target Interaction

drug_target_interact

Predict drug-target binding affinity using graph neural networks.

What It Does

Use Drug-Target Interaction when you need predict drug-target binding affinity using graph neural networks.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
drug_var
Drug SMILES/mol
stringdrugConfiguration value used by this block when generating Sansqrit DSL code.
target_seq
Target protein sequence
stringprotein_seqSelects the qubit, bit, control, target, or helper register position used by the block.
model
Model
selectGraphDTAChooses the algorithmic behavior or transformation strategy.
Options: DeepDTA, GraphDTA, MolTrans, Transformer-DTI
output_var
Affinity
stringbinding_affinityConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let binding_affinity = dti(drug, protein_seq)

012 / Biology & Genomics

SNP Analysis

snp_analysis

Single Nucleotide Polymorphism calling and GWAS analysis.

What It Does

Use SNP Analysis when you need single Nucleotide Polymorphism calling and GWAS analysis.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
vcf_file
VCF file path
stringvariants.vcfPoints to local or uploaded data. Use the upload/data controls when working with local files.
reference_var
Reference genome
stringhg38Configuration value used by this block when generating Sansqrit DSL code.
analysis
Analysis
selectGWASChooses from supported modes for predictable generated code.
Options: GWAS, burden_test, LD_clump, PRS
phenotype_var
Phenotype
stringphenotypeChooses the algorithmic behavior or transformation strategy.
output_var
GWAS results
stringgwas_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let gwas_result = gwas("variants.vcf", phenotype=phenotype)

013 / Biology & Genomics

Metabolomics

metabolomics_block

Identify and quantify metabolites from LC-MS/GC-MS data.

What It Does

Use Metabolomics when you need identify and quantify metabolites from LC-MS/GC-MS data.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
ms_data_var
MS data
stringms_dataConfiguration value used by this block when generating Sansqrit DSL code.
pipeline
Pipeline
selectXCMSChooses from supported modes for predictable generated code.
Options: XCMS, MZmine, MetaboAnalyst
reference_db
Reference DB
stringHMDBConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Metabolites
stringmetabolitesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let metabolites = metabolomics(ms_data)

014 / Biology & Genomics

Epigenomics

epigenomics_block

ChIP-seq, ATAC-seq, bisulfite methylation analysis.

What It Does

Use Epigenomics when you need chIP-seq, ATAC-seq, bisulfite methylation analysis.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
bam_file
BAM file path
stringsample.bamPoints to local or uploaded data. Use the upload/data controls when working with local files.
assay
Assay type
selectChIP-seqChooses from supported modes for predictable generated code.
Options: ChIP-seq, ATAC-seq, bisulfite, CUT&RUN
peak_caller
Peak caller
stringMACS2Configuration value used by this block when generating Sansqrit DSL code.
output_var
Peaks
stringpeaksConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let peaks = epigenomics("sample.bam", assay="ChIP-seq")

015 / Biology & Genomics

Biological Network

network_biology

Protein-protein interaction network analysis: hub genes, community detection.

What It Does

Use Biological Network when you need protein-protein interaction network analysis: hub genes, community detection.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
network_var
PPI network
stringppi_networkConfiguration value used by this block when generating Sansqrit DSL code.
analysis
Analysis
selectcentralityChooses from supported modes for predictable generated code.
Options: centrality, community, pathway_enrichment, module_detection
output_var
Network result
stringnet_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let net_result = bio_network(ppi_network, analysis="centrality")

016 / Biology & Genomics

Metagenomics

metagenomics_block

Taxonomic and functional profiling of microbiome samples.

What It Does

Use Metagenomics when you need taxonomic and functional profiling of microbiome samples.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
reads_file
Reads file
stringreads.fastqPoints to local or uploaded data. Use the upload/data controls when working with local files.
tool
Pipeline
selectMetaPhlAn4Chooses from supported modes for predictable generated code.
Options: Kraken2, MetaPhlAn4, HUMAnN3, Qiime2
analysis
Analysis
selecttaxonomyChooses from supported modes for predictable generated code.
Options: taxonomy, diversity, functional, assembly
output_var
Profile
stringmeta_profileConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let meta_profile = metagenomics("reads.fastq")

017 / Biology & Genomics

Flow Cytometry

flow_cytometry

Automated cell gating and population analysis from FACS data.

What It Does

Use Flow Cytometry when you need automated cell gating and population analysis from FACS data.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
fcs_file
FCS file path
stringsample.fcsPoints to local or uploaded data. Use the upload/data controls when working with local files.
method
Gating method
selectFlowSOMChooses the algorithmic behavior or transformation strategy.
Options: FlowJo_manual, openCyto_auto, PhenoGraph, FlowSOM
output_var
Cell populations
stringfacs_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let facs_result = flow_cytometry("sample.fcs")

018 / Biology & Genomics

Cryo-EM

cryo_em_block

Cryo-EM structure determination: CTF correction, 2D/3D classification, refinement.

What It Does

Use Cryo-EM when you need cryo-EM structure determination: CTF correction, 2D/3D classification, refinement.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
micrographs_dir
Micrographs directory
string./micrographs/Configuration value used by this block when generating Sansqrit DSL code.
software
Software
selectcryoSPARCChooses from supported modes for predictable generated code.
Options: RELION, cryoSPARC, cisTEM
target_resolution
Target resolution (ƅ)
number3Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 20
output_var
3D map
stringcryo_mapConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let cryo_map = cryo_em("./micrographs/")

019 / Biology & Genomics

Gene Ontology Enrichment

gene_ontology

GO/KEGG/Reactome pathway enrichment analysis.

What It Does

Use Gene Ontology Enrichment when you need gO/KEGG/Reactome pathway enrichment analysis.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
gene_list_var
Gene list
stringgene_listConfiguration value used by this block when generating Sansqrit DSL code.
background_var
Background genes
stringbackgroundConfiguration value used by this block when generating Sansqrit DSL code.
database
Database
selectGO_BPChooses from supported modes for predictable generated code.
Options: GO_BP, GO_MF, KEGG, Reactome, MSigDB
fdr_threshold
FDR threshold
number0.05Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 1
output_var
Enriched terms
stringgo_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let go_result = go_enrichment(gene_list, db="GO_BP")

020 / Biology & Genomics

Haplotype Phasing

haplotype_block

Statistical and physical haplotype phasing from sequencing data.

What It Does

Use Haplotype Phasing when you need statistical and physical haplotype phasing from sequencing data.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
vcf_var
VCF file
stringvariants.vcfConfiguration value used by this block when generating Sansqrit DSL code.
method
Phasing method
selectSHAPEIT4Chooses the algorithmic behavior or transformation strategy.
Options: SHAPEIT4, BEAGLE5, WhatsHap, HapCUT2
output_var
Phased haplotypes
stringhaplotypesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let haplotypes = haplotype_phase("variants.vcf")

021 / Biology & Genomics

Structural Variation

structural_variation

Detect SVs from WGS: deletions, duplications, inversions, translocations.

What It Does

Use Structural Variation when you need detect SVs from WGS: deletions, duplications, inversions, translocations.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
bam_var
BAM file
stringsample.bamConfiguration value used by this block when generating Sansqrit DSL code.
reference
Reference genome
stringhg38Configuration value used by this block when generating Sansqrit DSL code.
caller
SV caller
selectMantaChooses from supported modes for predictable generated code.
Options: Manta, DELLY, Lumpy, PBSV
output_var
SV calls
stringsv_callsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sv_calls = sv_calling("sample.bam")

022 / Biology & Genomics

Protein Design

protein_design

De novo protein design: ProteinMPNN, RFdiffusion, ESMFold.

What It Does

Use Protein Design when you need de novo protein design: ProteinMPNN, RFdiffusion, ESMFold.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target_structure
Target structure
stringpdb_fileSelects the qubit, bit, control, target, or helper register position used by the block.
method
Method
selectProteinMPNNChooses the algorithmic behavior or transformation strategy.
Options: ProteinMPNN, RFdiffusion, ESM-IF, Rosetta_FastDesign
n_sequences
Sequences to design
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 10000
output_var
Designed sequences
stringdesigned_proteinsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let designed_proteins = protein_design(pdb_file, method="ProteinMPNN")

023 / Biology & Genomics

Genome Assembly

genome_assembly

De novo genome assembly from short or long reads.

What It Does

Use Genome Assembly when you need de novo genome assembly from short or long reads.

Canvas color: #16A34A. Category: biology.

How To Use

  1. Drag the block from Biology & Genomics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
reads_var
Reads file(s)
stringreads.fastqConfiguration value used by this block when generating Sansqrit DSL code.
assembler
Assembler
selectSPAdesChooses from supported modes for predictable generated code.
Options: SPAdes, Flye, Hifiasm, wtdbg2
read_type
Read type
selectilluminaChooses the algorithmic behavior or transformation strategy.
Options: illumina, nanopore, pacbio_hifi
output_var
Assembly
stringgenomeConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let genome = genome_assembly("reads.fastq")
⬔

chemistry

Chemistry

Use this family for molecular, biological, chemistry, genomics, docking, and scientific modeling workflows.

25 blocks

001 / Chemistry

Molecule

molecule_init

Initialise molecule from SMILES, PDB, or IUPAC name. Computes geometry, orbitals, basis set.

What It Does

Use Molecule when you need initialise molecule from SMILES, PDB, or IUPAC name. Computes geometry, orbitals, basis set.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
molecule_name
Molecule
stringH2Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
smiles
SMILES
string[H][H]Configuration value used by this block when generating Sansqrit DSL code.
charge
Charge
number0Numeric configuration used during code generation or execution.
Range: -10 to 10
multiplicity
Multiplicity
number1Numeric configuration used during code generation or execution.
Range: 1 to 10
basis_set
Basis set
selectSTO-3GChooses from supported modes for predictable generated code.
Options: STO-3G, 6-31G, 6-31G*, cc-pVDZ, def2-SVP
output_var
Output variable
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
log_properties
Log properties
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let mol = molecule("H2", basis="STO-3G")

002 / Chemistry

VQE Chemistry

vqe_chemistry

VQE for molecular ground state. Jordan-Wigner mapping, UCCSD ansatz, frozen-core, parameter-shift gradients.

What It Does

Use VQE Chemistry when you need vQE for molecular ground state. Jordan-Wigner mapping, UCCSD ansatz, frozen-core, parameter-shift gradients.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
molecule_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
qubit_mapping
Qubit mapping
selectJordan-WignerSelects the qubit, bit, control, target, or helper register position used by the block.
Options: Jordan-Wigner, Bravyi-Kitaev, parity
ansatz
Ansatz
selectUCCSDChooses from supported modes for predictable generated code.
Options: UCCSD, kUpCCGSD, HEA
optimizer
Optimizer
selectCOBYLAChooses from supported modes for predictable generated code.
Options: COBYLA, SLSQP
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 100000
output_var
Output
stringchem_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ground state energy (Hartree)classicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let chem_result = vqe_chemistry(mol, ansatz="UCCSD")

003 / Chemistry

Hartree-Fock

hartree_fock

Classical SCF. Starting point for all correlated methods. Computes molecular orbitals.

What It Does

Use Hartree-Fock when you need classical SCF. Starting point for all correlated methods. Computes molecular orbitals.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
molecule_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
max_iter
Max iterations
number50Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000
diis
DIIS acceleration
booltrueTurns an optional behavior on or off for this block.
output_var
Output
stringhf_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let hf_result = hartree_fock(mol)

004 / Chemistry

MP2 Correction

mp2_block

MĆøller-Plesset 2nd order: adds electron correlation to Hartree-Fock.

What It Does

Use MP2 Correction when you need mĆøller-Plesset 2nd order: adds electron correlation to Hartree-Fock.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
hf_var
HF result
stringhf_resultConfiguration value used by this block when generating Sansqrit DSL code.
frozen_core
Frozen core
booltrueSets a numeric boundary, size, count, or top-N selection used to bound work and output.
output_var
Output
stringmp2_energyConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let mp2_energy = mp2(hf_result)

005 / Chemistry

CCSD(T)

ccsd_t_block

Coupled Cluster Singles Doubles + Triples — "gold standard" of quantum chemistry.

What It Does

Use CCSD(T) when you need coupled Cluster Singles Doubles + Triples — "gold standard" of quantum chemistry.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
hf_var
HF result
stringhf_resultConfiguration value used by this block when generating Sansqrit DSL code.
frozen_core
Frozen core
booltrueSets a numeric boundary, size, count, or top-N selection used to bound work and output.
output_var
Output
stringccsd_energyConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ccsd_energy = ccsd_t(hf_result)

006 / Chemistry

DFT

dft_block

Density Functional Theory. B3LYP for organics, PBE for solids, wB97X-D for non-covalent.

What It Does

Use DFT when you need density Functional Theory. B3LYP for organics, PBE for solids, wB97X-D for non-covalent.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
molecule_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
functional
Functional
selectB3LYPChooses from supported modes for predictable generated code.
Options: B3LYP, PBE, M06-2X, PBE0, wB97X-D, LDA
dispersion
Dispersion
selectD3Chooses from supported modes for predictable generated code.
Options: none, D3, D3BJ
output_var
Output
stringdft_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let dft_result = dft(mol, functional="B3LYP")

007 / Chemistry

Tanimoto Similarity

tanimoto_block

Molecular fingerprint similarity. Score=|A∩B|/|A∪B|. Industry standard for virtual screening.

What It Does

Use Tanimoto Similarity when you need molecular fingerprint similarity. Score=|A∩B|/|A∪B|. Industry standard for virtual screening.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mol_a
Molecule A
stringmol_aConfiguration value used by this block when generating Sansqrit DSL code.
mol_b
Molecule B
stringmol_bConfiguration value used by this block when generating Sansqrit DSL code.
fingerprint
Fingerprint
selectMorganChooses from supported modes for predictable generated code.
Options: Morgan, MACCS, RDKit
output_var
Similarity variable
stringsimilarityConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Similarity 0-1classicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let similarity = tanimoto(mol_a, mol_b)

008 / Chemistry

Spectroscopy Sim

spectroscopy_block

Simulate IR, Raman, UV-Vis, NMR spectra from optimised geometry.

What It Does

Use Spectroscopy Sim when you need simulate IR, Raman, UV-Vis, NMR spectra from optimised geometry.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
molecule_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
type
Spectrum type
selectIRChooses the algorithmic behavior or transformation strategy.
Options: IR, Raman, UV-Vis, NMR
plot_spectrum
Plot spectrum
booltrueTurns an optional behavior on or off for this block.
output_var
Output
stringspectrumConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let spectrum = spectroscopy(mol, type="IR")

009 / Chemistry

pKa Calculator

pka_block

Predict acid-base dissociation constant. Essential for drug solubility prediction.

What It Does

Use pKa Calculator when you need predict acid-base dissociation constant. Essential for drug solubility prediction.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
molecule_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectEpikChooses the algorithmic behavior or transformation strategy.
Options: Epik, ACD, ML_model
output_var
Output
stringpkaConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let pka = pka(mol)

010 / Chemistry

LogP Calculator

logp_block

Octanol/water partition coefficient. Lipinski Rule of 5: logP ≤ 5 for oral bioavailability.

What It Does

Use LogP Calculator when you need octanol/water partition coefficient. Lipinski Rule of 5: logP ≤ 5 for oral bioavailability.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
molecule_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectALOGPSChooses the algorithmic behavior or transformation strategy.
Options: ALOGPS, Wildman-Crippen, XLOGP3
output_var
Output
stringlogpConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let logp = logp(mol)

011 / Chemistry

Reaction Pathway

reaction_path

Minimum energy reaction path via NEB or IRC.

What It Does

Use Reaction Pathway when you need minimum energy reaction path via NEB or IRC.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
reactants_var
Reactants
stringreactantsConfiguration value used by this block when generating Sansqrit DSL code.
products_var
Products
stringproductsConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectNEBChooses the algorithmic behavior or transformation strategy.
Options: NEB, GSM, IRC
n_images
NEB images
number7Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 3 to 50
output_var
Output
stringpathwayConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let pathway = reaction_path(reactants, products)

012 / Chemistry

Excited State VQE

excited_state_vqe

Compute excited states via Multistate Contracted VQE or equation-of-motion.

What It Does

Use Excited State VQE when you need compute excited states via Multistate Contracted VQE or equation-of-motion.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mol_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
n_states
Number of states
number3Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 2 to 20
method
Method
selectMC-VQEChooses the algorithmic behavior or transformation strategy.
Options: MC-VQE, EOM-CCSD, SA-CASSCF
output_var
Excited energies
stringexcited_EConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let excited_E = excited_vqe(mol, n=3)

013 / Chemistry

Active Space

active_space

Define CASSCF/CASCI active space for multireference calculations.

What It Does

Use Active Space when you need define CASSCF/CASCI active space for multireference calculations.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mol_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
n_electrons
Active electrons
number2Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 2 to 50
n_orbitals
Active orbitals
number2Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 2 to 50
method
Method
selectCASSCFChooses the algorithmic behavior or transformation strategy.
Options: CASSCF, CASCI, NEVPT2, DMRGSCF
output_var
Active space result
stringcas_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let cas_result = active_space(mol, ne=2, no=2)

014 / Chemistry

Vibrational Analysis

vibrational_modes

Normal mode analysis: frequencies, zero-point energy, thermochemistry.

What It Does

Use Vibrational Analysis when you need normal mode analysis: frequencies, zero-point energy, thermochemistry.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mol_var
Optimised molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
hessian_method
Hessian method
stringDFTChooses the algorithmic behavior or transformation strategy.
compute_thermo
Thermochemistry
booltrueTurns an optional behavior on or off for this block.
temperature_K
Temperature (K)
number298.15Numeric configuration used during code generation or execution.
Range: 0 to 5000
output_var
Vibrational modes
stringvib_modesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let vib_modes = vibrational_modes(mol)

015 / Chemistry

Solvation Model

solvation_block

Implicit solvation: PCM, SMD, COSMO. Compute solvation free energy.

What It Does

Use Solvation Model when you need implicit solvation: PCM, SMD, COSMO. Compute solvation free energy.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mol_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
model
Solvation model
selectSMDChooses the algorithmic behavior or transformation strategy.
Options: PCM, SMD, COSMO, COSMO-RS
solvent
Solvent
stringwaterConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Solvated result
stringsolvated_molConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let solvated_mol = solvate(mol, model="SMD", solvent="water")

016 / Chemistry

NBO Analysis

nbo_analysis

Natural Bond Orbital analysis: bond orders, charges, hyperconjugation.

What It Does

Use NBO Analysis when you need natural Bond Orbital analysis: bond orders, charges, hyperconjugation.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mol_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
compute_wiberg
Wiberg bond orders
booltrueTurns an optional behavior on or off for this block.
output_var
NBO result
stringnbo_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let nbo_result = nbo_analysis(mol)

017 / Chemistry

TD-DFT Excited States

td_dft

Time-dependent DFT for UV-Vis absorption spectra and excited states.

What It Does

Use TD-DFT Excited States when you need time-dependent DFT for UV-Vis absorption spectra and excited states.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mol_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
n_states
Excited states
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 100
functional
Functional
selectCAM-B3LYPChooses from supported modes for predictable generated code.
Options: B3LYP, CAM-B3LYP, PBE0, wB97X
output_var
Spectrum
stringuv_visConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let uv_vis = td_dft(mol, n=10)

018 / Chemistry

GFN-xTB Semiempirical

gfn_xtb

Fast semiempirical GFN2-xTB for geometry optimisation and MD of large molecules.

What It Does

Use GFN-xTB Semiempirical when you need fast semiempirical GFN2-xTB for geometry optimisation and MD of large molecules.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mol_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectGFN2-xTBChooses the algorithmic behavior or transformation strategy.
Options: GFN2-xTB, GFN1-xTB, GFN0-xTB, DFTB3
task
Task
selectoptimizeChooses from supported modes for predictable generated code.
Options: singlepoint, optimize, md, hessian
output_var
xTB result
stringxtb_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let xtb_result = xtb(mol, method="GFN2-xTB", task="optimize")

019 / Chemistry

Conformer Generation

conformer_gen

Generate 3D conformers: RDKit ETKDG, OpenBabel, OMEGA.

What It Does

Use Conformer Generation when you need generate 3D conformers: RDKit ETKDG, OpenBabel, OMEGA.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
smiles_var
SMILES or molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
n_conformers
Conformers
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 10000
method
Method
selectETKDGv3Chooses the algorithmic behavior or transformation strategy.
Options: ETKDG, ETKDGv3, OMEGA, MacroModel
rmsd_threshold
RMSD threshold (ƅ)
number0.5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0.01 to 5
output_var
Conformers
stringconformersConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let conformers = gen_conformers(mol, n=100)

020 / Chemistry

Fingerprint Screening

fp_similarity_screen

Screen large compound libraries by fingerprint similarity to query.

What It Does

Use Fingerprint Screening when you need screen large compound libraries by fingerprint similarity to query.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
query_mol
Query molecule
stringqueryConfiguration value used by this block when generating Sansqrit DSL code.
library_var
Library
stringlibraryConfiguration value used by this block when generating Sansqrit DSL code.
fingerprint
Fingerprint
selectECFP4Chooses from supported modes for predictable generated code.
Options: Morgan, ECFP4, MACCS, RDKit, TopTorsion
similarity_threshold
Threshold
number0.7Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 1
output_var
Hits
stringfp_hitsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let fp_hits = fp_screen(query, library, cutoff=0.7)

021 / Chemistry

Scaffold Decomposition

scaffold_decomp

Bemis-Murcko scaffold decomposition for compound series analysis.

What It Does

Use Scaffold Decomposition when you need bemis-Murcko scaffold decomposition for compound series analysis.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mol_var
Molecule or library
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
generic_scaffold
Generic scaffold
boolfalseTurns an optional behavior on or off for this block.
output_var
Scaffold
stringscaffoldConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let scaffold = scaffold_decomp(mol)

022 / Chemistry

Retrosynthesis

retrosynthesis

AI-guided retrosynthetic route planning: ASKCOS, AiZynthFinder.

What It Does

Use Retrosynthesis when you need aI-guided retrosynthetic route planning: ASKCOS, AiZynthFinder.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target_smiles
Target SMILES
stringemptySelects the qubit, bit, control, target, or helper register position used by the block.
engine
Engine
selectAiZynthFinderChooses from supported modes for predictable generated code.
Options: ASKCOS, AiZynthFinder, MCTS
max_steps
Max synthetic steps
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 20
output_var
Routes
stringsynth_routesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let synth_routes = retrosynthesis("", engine="AiZynthFinder")

023 / Chemistry

Pharmacophore Model

pharmacophore

3D pharmacophore fitting and virtual screening.

What It Does

Use Pharmacophore Model when you need 3D pharmacophore fitting and virtual screening.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
actives_var
Active molecules
stringactivesConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectLigandScoutChooses the algorithmic behavior or transformation strategy.
Options: PHASE, LigandScout, MOE_ph4
n_features
Features
number5Chooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
Range: 2 to 20
output_var
Pharmacophore
stringpharmacophoreConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let pharmacophore = pharmacophore(actives)

024 / Chemistry

Matched Molecular Pairs

mmpdb_block

Matched Molecular Pair analysis for SAR and property prediction.

What It Does

Use Matched Molecular Pairs when you need matched Molecular Pair analysis for SAR and property prediction.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
series_var
Compound series
stringseriesConfiguration value used by this block when generating Sansqrit DSL code.
property
Property
stringpIC50Configuration value used by this block when generating Sansqrit DSL code.
output_var
MMP transforms
stringmmp_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let mmp_result = mmp_analysis(series, prop="pIC50")

025 / Chemistry

Solubility Predictor

solubility_pred

Predict aqueous solubility (logS). Delaney ESOL, AqSolDB model.

What It Does

Use Solubility Predictor when you need predict aqueous solubility (logS). Delaney ESOL, AqSolDB model.

Canvas color: #059669. Category: chemistry.

How To Use

  1. Drag the block from Chemistry into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mol_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectESOLChooses the algorithmic behavior or transformation strategy.
Options: ESOL, AqSolDB, SolubilityGNN
output_var
logS
stringlog_solubilityConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let log_solubility = solubility(mol)
⌨

classical

Classical Control

Use this family when the workflow needs this block group as part of a larger visual program.

7 blocks

001 / Classical Control

For Loop

for_loop

Iterates over range or collection. Python-style: for i in range(10): Brace-style: for i in range(10) { }

What It Does

Use For Loop when you need iterates over range or collection. Python-style: for i in range(10): Brace-style: for i in range(10) { }

Canvas color: #CE4A2E. Category: classical.

How To Use

  1. Drag the block from Classical Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
variable
Loop variable
stringiConfiguration value used by this block when generating Sansqrit DSL code.
iterate_over
Iterate over
selectrangeChooses from supported modes for predictable generated code.
Options: range, collection
range_start
Start
string0Configuration value used by this block when generating Sansqrit DSL code.
range_end
End
string10Configuration value used by this block when generating Sansqrit DSL code.
step
Step
number1Numeric configuration used during code generation or execution.
Range: 1 to 1000
collection_var
Collection variable
stringitemsSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

for i in range(0, 10):

002 / Classical Control

While Loop

while_loop

Repeats body while condition is true. Safety max prevents infinite loops.

What It Does

Use While Loop when you need repeats body while condition is true. Safety max prevents infinite loops.

Canvas color: #CE4A2E. Category: classical.

How To Use

  1. Drag the block from Classical Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
condition
Condition
stringx > 0Configuration value used by this block when generating Sansqrit DSL code.
max_iterations
Max iterations
number100000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000000000
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

while x > 0:

003 / Classical Control

If / Else

if_else

Conditional. Supports elif. Quantum feedback: if measure(q[0]) == 1: X(q[1]).

What It Does

Use If / Else when you need conditional. Supports elif. Quantum feedback: if measure(q[0]) == 1: X(q[1]).

Canvas color: #CE4A2E. Category: classical.

How To Use

  1. Drag the block from Classical Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
condition
Condition
stringenergy < -1.0Configuration value used by this block when generating Sansqrit DSL code.
has_elif
Has elif
boolfalseTurns an optional behavior on or off for this block.
has_else
Has else
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

if energy < -1.0:

004 / Classical Control

Try / Catch

try_catch

Exception handling for DB connections, API calls, hardware failures.

What It Does

Use Try / Catch when you need exception handling for DB connections, API calls, hardware failures.

Canvas color: #CE4A2E. Category: classical.

How To Use

  1. Drag the block from Classical Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
error_var
Error variable
stringeConfiguration value used by this block when generating Sansqrit DSL code.
log_errors
Log errors
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

try:

005 / Classical Control

Return

return_block

Return a value from a function.

What It Does

Use Return when you need return a value from a function.

Canvas color: #CE4A2E. Category: classical.

How To Use

  1. Drag the block from Classical Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
return_expr
Return expression
stringresultSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

return result

006 / Classical Control

Break

break_block

Break out of the enclosing for/while loop.

What It Does

Use Break when you need break out of the enclosing for/while loop.

Canvas color: #CE4A2E. Category: classical.

How To Use

  1. Drag the block from Classical Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
condition
Condition (blank=always)
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

break

007 / Classical Control

Continue

continue_block

Skip to next loop iteration.

What It Does

Use Continue when you need skip to next loop iteration.

Canvas color: #CE4A2E. Category: classical.

How To Use

  1. Drag the block from Classical Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
condition
Condition (blank=always)
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

continue
šŸŒ

climate

Climate & Environment

Use this family when the workflow needs this block group as part of a larger visual program.

12 blocks

001 / Climate & Environment

Climate Model

climate_model

General Circulation Model integration: temperature, precipitation, sea-level forecasting.

What It Does

Use Climate Model when you need general Circulation Model integration: temperature, precipitation, sea-level forecasting.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
config_var
GCM config
stringgcm_configConfiguration value used by this block when generating Sansqrit DSL code.
model
GCM
selectsimple_EBMChooses the algorithmic behavior or transformation strategy.
Options: CESM2, CMIP6, ERA5-reanalysis, simple_EBM
years
Simulation years
number100Numeric configuration used during code generation or execution.
Range: 1 to 10000
scenario
RCP/SSP scenario
stringSSP2-4.5Configuration value used by this block when generating Sansqrit DSL code.
output_var
Climate output
stringclimate_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let climate_result = climate_model(scenario="SSP2-4.5", years=100)

002 / Climate & Environment

COā‚‚ Budget Model

co2_model

Carbon cycle model: emissions, sinks, atmospheric concentration.

What It Does

Use COā‚‚ Budget Model when you need carbon cycle model: emissions, sinks, atmospheric concentration.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
emissions_path
Emissions pathway
json{"2024":37.5,"2030":30,"2050":0}Points to local or uploaded data. Use the upload/data controls when working with local files.
carbon_cycle
Carbon cycle
selectDICESets a numeric boundary, size, count, or top-N selection used to bound work and output.
Options: MAGICC, simple_carbon, DICE
output_var
CO2 trajectory
stringco2_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let co2_result = co2_model(emissions={"2024":37.5,"2030":30,"2050":0})

003 / Climate & Environment

Renewable Energy Optimisation

renewable_opt

Optimal mix of solar, wind, storage for a grid region.

What It Does

Use Renewable Energy Optimisation when you need optimal mix of solar, wind, storage for a grid region.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
demand_var
Demand profile
stringdemandConfiguration value used by this block when generating Sansqrit DSL code.
solar_resource_var
Solar resource
stringsolarConfiguration value used by this block when generating Sansqrit DSL code.
wind_resource_var
Wind resource
stringwindConfiguration value used by this block when generating Sansqrit DSL code.
storage_hours
Storage hours
number4Numeric configuration used during code generation or execution.
Range: 0 to 100
solver
Solver
selectLPChooses from supported modes for predictable generated code.
Options: QAOA, LP, MIP
output_var
Optimal mix
stringenergy_mixConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let energy_mix = renewable_opt(demand)

004 / Climate & Environment

Wildfire Prediction

wildfire_predict

ML fire risk and spread prediction from satellite + weather data.

What It Does

Use Wildfire Prediction when you need mL fire risk and spread prediction from satellite + weather data.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
weather_var
Weather data
stringweatherConfiguration value used by this block when generating Sansqrit DSL code.
vegetation_var
Vegetation map
stringvegetationSets a numeric boundary, size, count, or top-N selection used to bound work and output.
model
Model
selectGBTChooses the algorithmic behavior or transformation strategy.
Options: RandomForest, GBT, LSTM, DeepFire
output_var
Fire risk map
stringfire_riskConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let fire_risk = wildfire_predict(weather, vegetation)

005 / Climate & Environment

Ocean Model

ocean_model

Ocean circulation, sea surface temperature, acidification.

What It Does

Use Ocean Model when you need ocean circulation, sea surface temperature, acidification.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
init_conditions
Initial conditions
stringocean_initConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectsimple_boxChooses the algorithmic behavior or transformation strategy.
Options: MOM6, NEMO, simple_box
years
Simulation years
number50Numeric configuration used during code generation or execution.
Range: 1 to 1000
output_var
Ocean state
stringocean_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ocean_result = ocean_model(years=50)

006 / Climate & Environment

Air Quality Model

air_quality

Atmospheric chemistry and PM2.5/ozone concentration forecasting.

What It Does

Use Air Quality Model when you need atmospheric chemistry and PM2.5/ozone concentration forecasting.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
emissions_var
Emissions inventory
stringemissionsConfiguration value used by this block when generating Sansqrit DSL code.
met_var
Meteorology
stringmet_dataConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectsimple_dispersionChooses the algorithmic behavior or transformation strategy.
Options: CMAQ, WRF-Chem, simple_dispersion
output_var
Air quality
stringaq_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let aq_result = air_quality(emissions)

007 / Climate & Environment

Hydrology Model

hydrology_block

Rainfall-runoff, flood prediction, groundwater recharge.

What It Does

Use Hydrology Model when you need rainfall-runoff, flood prediction, groundwater recharge.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
precip_var
Precipitation
stringprecipConfiguration value used by this block when generating Sansqrit DSL code.
dem_var
Digital elevation model
stringdemConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectHBVChooses the algorithmic behavior or transformation strategy.
Options: VIC, SWAT, HBV, simple_HRU
output_var
Streamflow
stringstreamflowConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let streamflow = hydrology(precip)

008 / Climate & Environment

Biodiversity Modelling

biodiversity_block

Species distribution modelling under climate change scenarios.

What It Does

Use Biodiversity Modelling when you need species distribution modelling under climate change scenarios.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
occurrence_var
Species occurrences
stringoccurrencesConfiguration value used by this block when generating Sansqrit DSL code.
climate_var
Climate variables
stringclimate_dataConfiguration value used by this block when generating Sansqrit DSL code.
model
SDM
selectMaxEntChooses the algorithmic behavior or transformation strategy.
Options: MaxEnt, BioClim, RandomForest, Ensemble
output_var
Habitat suitability
stringsdm_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sdm_result = species_distribution(occurrences)

009 / Climate & Environment

Solar Irradiance

solar_irradiance

Estimate GHI, DNI, DHI from location and time.

What It Does

Use Solar Irradiance when you need estimate GHI, DNI, DHI from location and time.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
latitude
Latitude (°)
number40Numeric configuration used during code generation or execution.
Range: -90 to 90
longitude
Longitude (°)
number-74Numeric configuration used during code generation or execution.
Range: 180 to 180
date_start
Start date
string2024-01-01Configuration value used by this block when generating Sansqrit DSL code.
n_days
Days
number365Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 3650
output_var
Irradiance
stringirradianceConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let irradiance = solar_irradiance(lat=40, lon=-74)

010 / Climate & Environment

Carbon Offset Calculator

carbon_offset

Calculate carbon offset for activities and projects.

What It Does

Use Carbon Offset Calculator when you need calculate carbon offset for activities and projects.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
activity_var
Activity data
stringactivityConfiguration value used by this block when generating Sansqrit DSL code.
methodology
Methodology
selectGHG_ProtocolChooses the algorithmic behavior or transformation strategy.
Options: GHG_Protocol, ISO_14064, Gold_Standard
output_var
COā‚‚ equivalent tons
stringcarbon_offsetConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let carbon_offset = carbon_offset(activity)

011 / Climate & Environment

Glacier Model

glacier_model

Ice sheet and glacier mass balance under warming scenarios.

What It Does

Use Glacier Model when you need ice sheet and glacier mass balance under warming scenarios.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
init_glacier
Glacier parameters
stringglacier_initConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectOGGMChooses the algorithmic behavior or transformation strategy.
Options: OGGM, simple_ELA, PISM
temp_change_C
Temperature change (°C)
number2Numeric configuration used during code generation or execution.
Range: -5 to 10
years
Simulation years
number100Numeric configuration used during code generation or execution.
Range: 10 to 1000
output_var
Mass balance
stringglacier_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let glacier_result = glacier_model(delta_T=2, years=100)

012 / Climate & Environment

Life Cycle Assessment

life_cycle_assess

ISO 14040/44 LCA for products, processes, and systems.

What It Does

Use Life Cycle Assessment when you need iSO 14040/44 LCA for products, processes, and systems.

Canvas color: #166534. Category: climate.

How To Use

  1. Drag the block from Climate & Environment into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
product_var
Product system
stringproductConfiguration value used by this block when generating Sansqrit DSL code.
functional_unit
Functional unit
string1 kgConfiguration value used by this block when generating Sansqrit DSL code.
method
Impact method
selectReCiPeChooses the algorithmic behavior or transformation strategy.
Options: ReCiPe, CML, TRACI, EF3.0
output_var
LCA results
stringlca_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let lca_result = lca(product, method="ReCiPe")
☁

cloud

Cloud Storage

Use this family when the workflow needs this block group as part of a larger visual program.

4 blocks

001 / Cloud Storage

AWS S3

s3_block

Read, write, list AWS S3 objects. Streaming for large files.

What It Does

Use AWS S3 when you need read, write, list AWS S3 objects. Streaming for large files.

Canvas color: #0369A1. Category: cloud.

How To Use

  1. Drag the block from Cloud Storage into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
bucket
Bucket name
stringmy-bucketConfiguration value used by this block when generating Sansqrit DSL code.
key
Object key
stringdata/file.csvConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectgetChooses from supported modes for predictable generated code.
Options: get, put, delete, list, presign
aws_region
AWS Region
stringus-east-1Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output
strings3_dataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let s3_data = s3_get("my-bucket", "data/file.csv")

002 / Cloud Storage

Google Cloud Storage

gcs_block

Read, write GCS objects.

What It Does

Use Google Cloud Storage when you need read, write GCS objects.

Canvas color: #0369A1. Category: cloud.

How To Use

  1. Drag the block from Cloud Storage into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
bucket
Bucket
stringmy-bucketConfiguration value used by this block when generating Sansqrit DSL code.
blob
Blob path
stringdata/file.csvConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectdownloadChooses from supported modes for predictable generated code.
Options: download, upload, delete, list
output_var
Output
stringgcs_dataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let gcs_data = gcs_download("my-bucket", "data/file.csv")

003 / Cloud Storage

Azure Blob Storage

azure_blob

Read, write Azure Blob Storage.

What It Does

Use Azure Blob Storage when you need read, write Azure Blob Storage.

Canvas color: #0369A1. Category: cloud.

How To Use

  1. Drag the block from Cloud Storage into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
container
Container
stringmy-containerConfiguration value used by this block when generating Sansqrit DSL code.
blob_name
Blob name
stringfile.csvNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
operation
Operation
selectdownloadChooses from supported modes for predictable generated code.
Options: download, upload, delete, list
output_var
Output
stringazure_dataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let azure_data = azure_blob_download("my-container", "file.csv")

004 / Cloud Storage

HDFS

hdfs_block

Hadoop Distributed File System read/write for big data workflows.

What It Does

Use HDFS when you need hadoop Distributed File System read/write for big data workflows.

Canvas color: #0369A1. Category: cloud.

How To Use

  1. Drag the block from Cloud Storage into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
path
HDFS path
string/user/data/Points to local or uploaded data. Use the upload/data controls when working with local files.
operation
Operation
selectreadChooses from supported modes for predictable generated code.
Options: read, write, list, delete
namenode
Namenode
stringhdfs://namenode:9000Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
output_var
Output
stringhdfs_dataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let hdfs_data = hdfs_read("/user/data/")
šŸ‘

cv

Computer Vision

Use this family when the workflow needs this block group as part of a larger visual program.

15 blocks

001 / Computer Vision

Image Loader

img_load

Load image from file, URL, or numpy array. Returns tensor.

What It Does

Use Image Loader when you need load image from file, URL, or numpy array. Returns tensor.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
source
Source (file/URL/var)
stringimage.jpgConfiguration value used by this block when generating Sansqrit DSL code.
format
Format
selectRGBChooses from supported modes for predictable generated code.
Options: RGB, BGR, RGBA, grayscale, tensor
resize
Resize [W,H] or null
jsonnullConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Output image
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let img = img_load("image.jpg")

002 / Computer Vision

Image Preprocess

img_preprocess

Normalise, resize, crop, augment for deep learning pipelines.

What It Does

Use Image Preprocess when you need normalise, resize, crop, augment for deep learning pipelines.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
img_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
transforms
Transform pipeline
json[{"op":"resize","size":[224,224]},{"op":"normalize","mean":[0.485,0.456,0.406],"std":[0.229,0.224,0.225]}]Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output tensor
stringimg_tensorConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let img_tensor = img_preprocess(img)

003 / Computer Vision

Object Detection

object_detect

Detect and localise objects: YOLO, DETR, Faster-RCNN, SAM.

What It Does

Use Object Detection when you need detect and localise objects: YOLO, DETR, Faster-RCNN, SAM.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
img_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectYOLOv8Chooses the algorithmic behavior or transformation strategy.
Options: YOLOv9, YOLOv8, DETR, Faster-RCNN, RT-DETR
conf_threshold
Confidence threshold
number0.5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 1
classes
Filter classes (null=all)
jsonnullConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Output detections
stringdetectionsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let detections = detect(img, model="YOLOv8", conf=0.5)

004 / Computer Vision

Image Classification

img_classify_block

Classify image: ResNet, EfficientNet, ViT, CLIP zero-shot.

What It Does

Use Image Classification when you need classify image: ResNet, EfficientNet, ViT, CLIP zero-shot.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
img_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectEfficientNet-B7Chooses the algorithmic behavior or transformation strategy.
Options: ResNet-50, EfficientNet-B7, ViT-L/16, CLIP, DeiT
top_k
Top-K classes
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000
output_var
Predictions
stringclf_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let clf_result = img_classify(img, model="EfficientNet-B7")

005 / Computer Vision

Image Segmentation

img_segment_cv

Semantic or instance segmentation: SAM, Mask-RCNN, DeepLab.

What It Does

Use Image Segmentation when you need semantic or instance segmentation: SAM, Mask-RCNN, DeepLab.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
img_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectSAMChooses the algorithmic behavior or transformation strategy.
Options: SAM, Mask-RCNN, DeepLabV3+, OneFormer
type
Type
selectinstanceChooses the algorithmic behavior or transformation strategy.
Options: semantic, instance, panoptic
output_var
Output masks
stringmasksConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let masks = img_segment(img, model="SAM")

006 / Computer Vision

Face Detection & Recognition

face_detect

Detect, align, and recognise faces. DeepFace, InsightFace, MediaPipe.

What It Does

Use Face Detection & Recognition when you need detect, align, and recognise faces. DeepFace, InsightFace, MediaPipe.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
img_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectInsightFaceChooses the algorithmic behavior or transformation strategy.
Options: DeepFace, InsightFace, MediaPipe, MTCNN
task
Task
selectdetectChooses from supported modes for predictable generated code.
Options: detect, recognize, verify, align, emotion
db_path
Face DB path (for recognition)
string./faces/Points to local or uploaded data. Use the upload/data controls when working with local files.
output_var
Output
stringface_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let face_result = face_detect(img, model="InsightFace")

007 / Computer Vision

Pose Estimation

pose_estimate

Skeleton keypoint detection: MediaPipe, OpenPose, ViTPose.

What It Does

Use Pose Estimation when you need skeleton keypoint detection: MediaPipe, OpenPose, ViTPose.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
img_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectMediaPipeChooses the algorithmic behavior or transformation strategy.
Options: MediaPipe, OpenPose, ViTPose, MoveNet
type
Type
selectbodyChooses the algorithmic behavior or transformation strategy.
Options: body, hand, face, whole
output_var
Keypoints
stringkeypointsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let keypoints = pose_estimate(img)

008 / Computer Vision

Depth Estimation

depth_estimate

Monocular depth estimation from single RGB image.

What It Does

Use Depth Estimation when you need monocular depth estimation from single RGB image.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
img_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectDepth-AnythingChooses the algorithmic behavior or transformation strategy.
Options: DPT-Large, MiDaS, Depth-Anything, ZoeDepth
output_var
Depth map
stringdepth_mapConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let depth_map = depth_estimate(img)

009 / Computer Vision

Optical Flow

optical_flow

Estimate motion between consecutive frames: RAFT, FlowNet2.

What It Does

Use Optical Flow when you need estimate motion between consecutive frames: RAFT, FlowNet2.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
frame1_var
Frame 1
stringframe1Configuration value used by this block when generating Sansqrit DSL code.
frame2_var
Frame 2
stringframe2Configuration value used by this block when generating Sansqrit DSL code.
model
Model
selectRAFTChooses the algorithmic behavior or transformation strategy.
Options: RAFT, FlowNet2, TV-L1, Farneback
output_var
Flow field
stringflowConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let flow = optical_flow(frame1, frame2)

010 / Computer Vision

Image Generation

img_generate

Generative AI: Stable Diffusion, DALL-E, Midjourney-compatible APIs.

What It Does

Use Image Generation when you need generative AI: Stable Diffusion, DALL-E, Midjourney-compatible APIs.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
prompt
Text prompt
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
negative_prompt
Negative prompt
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectSD-XLChooses the algorithmic behavior or transformation strategy.
Options: SD-XL, SD-3, DALL-E-3, Flux-1
width
Width
number1024Numeric configuration used during code generation or execution.
Range: 64 to 2048
height
Height
number1024Numeric configuration used during code generation or execution.
Range: 64 to 2048
steps
Inference steps
number30Numeric configuration used during code generation or execution.
Range: 1 to 150
guidance
Guidance scale
number7.5Numeric configuration used during code generation or execution.
Range: 1 to 30
output_var
Output image
stringgen_imageConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let gen_image = img_generate("", model="SD-XL")

011 / Computer Vision

Video Processing

video_process

Read, process, and write video frames. Apply CV pipeline per frame.

What It Does

Use Video Processing when you need read, process, and write video frames. Apply CV pipeline per frame.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
video_path
Video file path
stringvideo.mp4Points to local or uploaded data. Use the upload/data controls when working with local files.
operation
Operation
selectextract_framesChooses from supported modes for predictable generated code.
Options: extract_frames, apply_pipeline, detect_scenes, stabilize, super_resolve
fps
Output FPS (0=original)
number0Numeric configuration used during code generation or execution.
Range: 0 to 240
output_var
Output
stringvideo_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let video_result = video_process("video.mp4", op="extract_frames")

012 / Computer Vision

Image Embedding

img_embed

Extract visual embeddings for retrieval, similarity, and clustering.

What It Does

Use Image Embedding when you need extract visual embeddings for retrieval, similarity, and clustering.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
img_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectCLIP-ViT-L/14Chooses the algorithmic behavior or transformation strategy.
Options: CLIP-ViT-L/14, DINOv2-ViT-L, ResNet-50, EfficientNet-B7
output_var
Embedding
stringimg_embeddingConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let img_embedding = img_embed(img, model="CLIP-ViT-L/14")

013 / Computer Vision

Anomaly Detection (Image)

anomaly_detect_img

Unsupervised visual anomaly detection for industrial inspection.

What It Does

Use Anomaly Detection (Image) when you need unsupervised visual anomaly detection for industrial inspection.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
img_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectPatchCoreChooses the algorithmic behavior or transformation strategy.
Options: PatchCore, SPADE, PaDiM, FastFlow
output_var
Anomaly map
stringanomaly_mapConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let anomaly_map = anomaly_detect(img)

014 / Computer Vision

Super Resolution

img_super_res

Upscale image 2Ɨ/4Ɨ/8Ɨ using Real-ESRGAN, SRCNN, SwinIR.

What It Does

Use Super Resolution when you need upscale image 2Ɨ/4Ɨ/8Ɨ using Real-ESRGAN, SRCNN, SwinIR.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
img_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectReal-ESRGANChooses the algorithmic behavior or transformation strategy.
Options: Real-ESRGAN, SwinIR, SRCNN, EDSR
scale
Scale factor
number4Numeric configuration used during code generation or execution.
Range: 2 to 8
output_var
Upscaled image
stringhires_imgConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let hires_img = super_resolve(img, scale=4)

015 / Computer Vision

Image Captioning

img_caption

Generate natural language description of an image.

What It Does

Use Image Captioning when you need generate natural language description of an image.

Canvas color: #0369A1. Category: cv.

How To Use

  1. Drag the block from Computer Vision into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
img_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectBLIP-2Chooses the algorithmic behavior or transformation strategy.
Options: BLIP-2, LLaVA, CogVLM, GPT-4o-vision
output_var
Caption
stringcaptionConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let caption = img_caption(img, model="BLIP-2")
⇄

transform

Data Transform

Use this family to ingest, clean, reshape, join, and inspect structured data before analysis or modeling.

15 blocks

001 / Data Transform

Filter

filter_block

Filter rows or elements matching a condition.

What It Does

Use Filter when you need filter rows or elements matching a condition.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
condition
Filter condition
stringx > 0Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output variable
stringfilteredConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let filtered = filter(data, lambda x: x > 0)

002 / Data Transform

Map / Apply

map_transform

Apply function to each element.

What It Does

Use Map / Apply when you need apply function to each element.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
transform_expr
Transform
stringx * 2Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output variable
stringmappedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let mapped = list(map(lambda x: x * 2, data))

003 / Data Transform

Sort

sort_block

Sort by key ascending or descending.

What It Does

Use Sort when you need sort by key ascending or descending.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
key_expr
Sort key
stringxConfiguration value used by this block when generating Sansqrit DSL code.
descending
Descending
boolfalseTurns an optional behavior on or off for this block.
output_var
Output
stringsorted_dataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sorted_data = sorted(data)

004 / Data Transform

Group By

groupby_block

Group items by key, aggregate per group.

What It Does

Use Group By when you need group items by key, aggregate per group.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
key_fn
Group-by key
stringx["category"]Configuration value used by this block when generating Sansqrit DSL code.
agg
Aggregation
selectlistChooses from supported modes for predictable generated code.
Options: list, sum, mean, count, first, max, min
output_var
Output
stringgroupedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let grouped = groupby(data, lambda x: x["category"])

005 / Data Transform

Join / Merge

join_block

Join two datasets on a common key. Inner, left, right, outer joins.

What It Does

Use Join / Merge when you need join two datasets on a common key. Inner, left, right, outer joins.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
left_var
Left dataset
stringleftConfiguration value used by this block when generating Sansqrit DSL code.
right_var
Right dataset
stringrightConfiguration value used by this block when generating Sansqrit DSL code.
left_key
Left key
stringidConfiguration value used by this block when generating Sansqrit DSL code.
right_key
Right key
stringidConfiguration value used by this block when generating Sansqrit DSL code.
join_type
Join type
selectinnerChooses the algorithmic behavior or transformation strategy.
Options: inner, left, right, outer
output_var
Output
stringmergedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let merged = join(left, right, on="id")

006 / Data Transform

Pivot Table

pivot_block

Reshape data from long to wide format.

What It Does

Use Pivot Table when you need reshape data from long to wide format.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
index
Row index
stringdateConfiguration value used by this block when generating Sansqrit DSL code.
columns
Column field
stringcategoryChooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
values
Values field
stringamountConfiguration value used by this block when generating Sansqrit DSL code.
aggfunc
Aggregation
selectsumChooses from supported modes for predictable generated code.
Options: sum, mean, count, max, min
output_var
Output
stringpivotConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let pivot = pivot(data, index="date")

007 / Data Transform

Schema Validation

schema_validate

Validate data against JSON Schema or Pydantic model.

What It Does

Use Schema Validation when you need validate data against JSON Schema or Pydantic model.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
schema
JSON Schema
json{"type":"object"}Configuration value used by this block when generating Sansqrit DSL code.
strict
Strict mode
booltrueTurns an optional behavior on or off for this block.
output_var
Valid rows variable
stringvalid_dataConfiguration value used by this block when generating Sansqrit DSL code.
errors_var
Errors variable
stringvalidation_errorsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let valid_data = schema_validate(data)

008 / Data Transform

Rolling Window

window_transform

Rolling/sliding window: mean, std, sum, min, max, correlation.

What It Does

Use Rolling Window when you need rolling/sliding window: mean, std, sum, min, max, correlation.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringseriesConfiguration value used by this block when generating Sansqrit DSL code.
window_size
Window size
number10Numeric configuration used during code generation or execution.
Range: 1 to 100000
agg
Aggregation
selectmeanChooses from supported modes for predictable generated code.
Options: mean, std, sum, min, max, median, var
center
Centred window
boolfalseTurns an optional behavior on or off for this block.
output_var
Rolling result
stringrolling_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let rolling_result = rolling(series, 10, "mean")

009 / Data Transform

Resample

resample_block

Upsample or downsample time series data.

What It Does

Use Resample when you need upsample or downsample time series data.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringtsConfiguration value used by this block when generating Sansqrit DSL code.
freq
Target frequency
string1hConfiguration value used by this block when generating Sansqrit DSL code.
method
Resample method
selectmeanChooses the algorithmic behavior or transformation strategy.
Options: mean, sum, ffill, bfill, interpolate
output_var
Resampled data
stringresampledConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let resampled = resample(ts, freq="1h", method="mean")

010 / Data Transform

Feature Encoding

encode_features

Label encode, ordinal encode, target encode, leave-one-out encode.

What It Does

Use Feature Encoding when you need label encode, ordinal encode, target encode, leave-one-out encode.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
X_var
Input data
stringXConfiguration value used by this block when generating Sansqrit DSL code.
col
Column name
stringcategoryConfiguration value used by this block when generating Sansqrit DSL code.
method
Encoding
selecttargetChooses the algorithmic behavior or transformation strategy.
Options: label, ordinal, target, leave_one_out, weight_of_evidence
output_var
Encoded data
stringX_encodedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let X_encoded = encode(X, "category", method="target")

011 / Data Transform

Impute Missing

missing_impute

Handle missing values: mean/median/mode, KNN, MICE, iterative imputer.

What It Does

Use Impute Missing when you need handle missing values: mean/median/mode, KNN, MICE, iterative imputer.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringXConfiguration value used by this block when generating Sansqrit DSL code.
strategy
Strategy
selectmedianChooses the algorithmic behavior or transformation strategy.
Options: mean, median, mode, KNN, MICE, constant
fill_value
Constant fill value
string0Configuration value used by this block when generating Sansqrit DSL code.
output_var
Imputed data
stringX_imputedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let X_imputed = impute(X, strategy="median")

012 / Data Transform

Normalise / Scale

normalize_block

StandardScaler, MinMaxScaler, RobustScaler, Normalizer, PowerTransformer.

What It Does

Use Normalise / Scale when you need standardScaler, MinMaxScaler, RobustScaler, Normalizer, PowerTransformer.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringXConfiguration value used by this block when generating Sansqrit DSL code.
scaler
Scaler
selectStandardScalerChooses from supported modes for predictable generated code.
Options: StandardScaler, MinMaxScaler, RobustScaler, Normalizer, MaxAbsScaler, PowerTransformer
output_var
Scaled data
stringX_scaledConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let X_scaled = scale(X, method="StandardScaler")

013 / Data Transform

Explode / Flatten

explode_block

Explode list column into rows, or flatten nested JSON.

What It Does

Use Explode / Flatten when you need explode list column into rows, or flatten nested JSON.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
column
Column to explode
stringtagsChooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
flatten_json
Flatten nested JSON
boolfalseSets a numeric boundary, size, count, or top-N selection used to bound work and output.
output_var
Exploded data
stringexplodedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let exploded = explode(data, "tags")

014 / Data Transform

Deduplication

dedup_block

Remove duplicate rows exactly or via fuzzy string matching.

What It Does

Use Deduplication when you need remove duplicate rows exactly or via fuzzy string matching.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
key_cols
Key columns (blank=all)
stringemptyChooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
method
Dedup method
selectexactChooses the algorithmic behavior or transformation strategy.
Options: exact, fuzzy, blocked_fuzzy
similarity_threshold
Fuzzy threshold
number0.9Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0.5 to 1
output_var
Deduped data
stringdedupedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let deduped = dedup(data)

015 / Data Transform

Binning / Discretise

binning_block

Discretise continuous variable into bins: equal-width, equal-frequency, custom.

What It Does

Use Binning / Discretise when you need discretise continuous variable into bins: equal-width, equal-frequency, custom.

Canvas color: #D97706. Category: transform.

How To Use

  1. Drag the block from Data Transform into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringXConfiguration value used by this block when generating Sansqrit DSL code.
column
Column
stringageChooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
strategy
Strategy
selectquantileChooses the algorithmic behavior or transformation strategy.
Options: uniform, quantile, kmeans, custom
n_bins
Bins
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 2 to 1000
output_var
Binned data
stringX_binnedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let X_binned = bin(X, "age", n=5)
šŸ—„

database

Databases

Use this family to ingest, clean, reshape, join, and inspect structured data before analysis or modeling.

5 blocks

001 / Databases

DB Connect

db_connect

Connect to PostgreSQL, MySQL, SQLite, MongoDB, Redis, DynamoDB, Snowflake, BigQuery.

What It Does

Use DB Connect when you need connect to PostgreSQL, MySQL, SQLite, MongoDB, Redis, DynamoDB, Snowflake, BigQuery.

Canvas color: #1D4ED8. Category: database.

How To Use

  1. Drag the block from Databases into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
db_type
Database type
selectPostgreSQLChooses the algorithmic behavior or transformation strategy.
Options: PostgreSQL, MySQL, SQLite, MongoDB, Redis, DynamoDB, Snowflake, BigQuery
host
Host
stringlocalhostConfiguration value used by this block when generating Sansqrit DSL code.
port
Port
number5432Numeric configuration used during code generation or execution.
Range: 0 to 65535
database
Database name
stringmydbConfiguration value used by this block when generating Sansqrit DSL code.
username_var
Username env var
stringDB_USERNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
password_var
Password env var
stringDB_PASSConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Connection variable
stringdbConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let db = db_connect("PostgreSQL", host="localhost")

002 / Databases

SQL Query

sql_query

Execute SQL on PostgreSQL, MySQL, SQLite, SQL Server.

What It Does

Use SQL Query when you need execute SQL on PostgreSQL, MySQL, SQLite, SQL Server.

Canvas color: #1D4ED8. Category: database.

How To Use

  1. Drag the block from Databases into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
connection_var
Connection variable
stringdbSets a numeric boundary, size, count, or top-N selection used to bound work and output.
query
SQL query
stringSELECT * FROM table LIMIT 100Configuration value used by this block when generating Sansqrit DSL code.
params
Parameters (array)
json[]Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output variable
stringrowsConfiguration value used by this block when generating Sansqrit DSL code.
return_as_dataframe
Return as DataFrame
booltrueSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let rows = sql_query(db, "SELECT * FROM table LIMIT 100")

003 / Databases

NoSQL Query

nosql_query

MongoDB find/aggregate, Redis get/set, DynamoDB scan/query.

What It Does

Use NoSQL Query when you need mongoDB find/aggregate, Redis get/set, DynamoDB scan/query.

Canvas color: #1D4ED8. Category: database.

How To Use

  1. Drag the block from Databases into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
connection_var
Connection variable
stringdbSets a numeric boundary, size, count, or top-N selection used to bound work and output.
collection
Collection / key
stringusersConfiguration value used by this block when generating Sansqrit DSL code.
filter
Filter
json{}Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output variable
stringresultsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let results = nosql_query(db, "users")

004 / Databases

Vector DB

vector_db

Upsert and query embeddings in ChromaDB, Pinecone, Qdrant, Weaviate.

What It Does

Use Vector DB when you need upsert and query embeddings in ChromaDB, Pinecone, Qdrant, Weaviate.

Canvas color: #1D4ED8. Category: database.

How To Use

  1. Drag the block from Databases into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
db_type
Vector DB
selectChromaDBChooses the algorithmic behavior or transformation strategy.
Options: ChromaDB, Pinecone, Qdrant, Weaviate, pgvector
collection
Collection name
stringembeddingsConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectqueryChooses from supported modes for predictable generated code.
Options: upsert, query, delete, get
top_k
Top-K
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000
output_var
Output results
stringvector_resultsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let vector_results = vector_db_query("embeddings", vector, k=10)

005 / Databases

DB Write

db_write

INSERT / UPDATE / UPSERT rows.

What It Does

Use DB Write when you need iNSERT / UPDATE / UPSERT rows.

Canvas color: #1D4ED8. Category: database.

How To Use

  1. Drag the block from Databases into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
connection_var
Connection
stringdbSets a numeric boundary, size, count, or top-N selection used to bound work and output.
table
Table name
stringresultsConfiguration value used by this block when generating Sansqrit DSL code.
data_var
Data variable
stringrow_dataConfiguration value used by this block when generating Sansqrit DSL code.
mode
Write mode
selectinsertChooses the algorithmic behavior or transformation strategy.
Options: insert, update, upsert, append
primary_key
Primary key
stringidConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Rows writtenclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

db_write(db, "results", row_data, mode="insert")
šŸ’Š

drug

Drug Discovery

Use this family for molecular, biological, chemistry, genomics, docking, and scientific modeling workflows.

8 blocks

001 / Drug Discovery

Molecular Docking

molecular_docking

Score ligand-protein binding. AutoDock-Vina, Glide, GOLD, rDock engines.

What It Does

Use Molecular Docking when you need score ligand-protein binding. AutoDock-Vina, Glide, GOLD, rDock engines.

Canvas color: #7C3AED. Category: drug.

How To Use

  1. Drag the block from Drug Discovery into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
ligand_var
Ligand
stringligandConfiguration value used by this block when generating Sansqrit DSL code.
protein_var
Protein PDB
stringproteinSets a numeric boundary, size, count, or top-N selection used to bound work and output.
engine
Engine
selectAutoDock-VinaChooses from supported modes for predictable generated code.
Options: AutoDock-Vina, Glide SP, GOLD, rDock
exhaustiveness
Exhaustiveness
number8Numeric configuration used during code generation or execution.
Range: 1 to 100
n_poses
Poses
number9Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 50
output_var
Output
stringposesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let poses = molecular_docking(ligand, protein)

002 / Drug Discovery

ADMET Predictor

admet_block

Absorption, Distribution, Metabolism, Excretion, Toxicity. Lipinski Rule of 5, BBB, hERG.

What It Does

Use ADMET Predictor when you need absorption, Distribution, Metabolism, Excretion, Toxicity. Lipinski Rule of 5, BBB, hERG.

Canvas color: #7C3AED. Category: drug.

How To Use

  1. Drag the block from Drug Discovery into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
molecule_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectpkCSMChooses the algorithmic behavior or transformation strategy.
Options: pkCSM, SwissADME, ADMETsar
output_var
Output
stringadmet_resultConfiguration value used by this block when generating Sansqrit DSL code.
flag_violations
Flag Lipinski violations
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let admet_result = admet(mol)

003 / Drug Discovery

Virtual Screening

virtual_screen

Screen compound library against target. Filter by Lipinski, PAINS, drug-likeness.

What It Does

Use Virtual Screening when you need screen compound library against target. Filter by Lipinski, PAINS, drug-likeness.

Canvas color: #7C3AED. Category: drug.

How To Use

  1. Drag the block from Drug Discovery into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
library_file
Compound library
stringlibrary.sdfPoints to local or uploaded data. Use the upload/data controls when working with local files.
target_var
Target protein
stringproteinSelects the qubit, bit, control, target, or helper register position used by the block.
method
Method
selectdockingChooses the algorithmic behavior or transformation strategy.
Options: docking, pharmacophore, shape, ML
top_n
Top N hits
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
output_var
Output hits
stringhitsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let hits = virtual_screen("library.sdf", protein)

004 / Drug Discovery

QSAR Model

qsar_model

Predict bioactivity from molecular structure using ML.

What It Does

Use QSAR Model when you need predict bioactivity from molecular structure using ML.

Canvas color: #7C3AED. Category: drug.

How To Use

  1. Drag the block from Drug Discovery into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
training_data_var
Training data
stringtrain_dataConfiguration value used by this block when generating Sansqrit DSL code.
endpoint
Endpoint
stringIC50Points to an external service or local API endpoint. Check credentials and network access before running.
method
Method
selectRFChooses the algorithmic behavior or transformation strategy.
Options: RF, GBT, SVM, DNN, GraphNN
output_model
Model variable
stringqsar_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let qsar_model = qsar(train_data, endpoint="IC50")

005 / Drug Discovery

Lead Optimisation

lead_opt

Generate optimised candidates from scaffold using RL, generative models, or GA.

What It Does

Use Lead Optimisation when you need generate optimised candidates from scaffold using RL, generative models, or GA.

Canvas color: #7C3AED. Category: drug.

How To Use

  1. Drag the block from Drug Discovery into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
scaffold_smiles
Scaffold SMILES
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectgraph_GAChooses the algorithmic behavior or transformation strategy.
Options: graph_GA, REINVENT, VAE, RL
n_compounds
Candidates
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
output_var
Output leads
stringlead_listConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let lead_list = lead_optimization(scaffold="")

006 / Drug Discovery

De Novo Design

de_novo_design

Generate novel drug candidates from scratch using RFdiffusion or VAE generative models.

What It Does

Use De Novo Design when you need generate novel drug candidates from scratch using RFdiffusion or VAE generative models.

Canvas color: #7C3AED. Category: drug.

How To Use

  1. Drag the block from Drug Discovery into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target_var
Target protein
stringproteinSelects the qubit, bit, control, target, or helper register position used by the block.
method
Method
selectdiffusionChooses the algorithmic behavior or transformation strategy.
Options: fragment, RL, VAE, diffusion
n_designs
Designs
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
output_var
Output molecules
stringnovel_moleculesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let novel_molecules = de_novo_design(protein)

007 / Drug Discovery

Toxicity Predictor

toxicity_block

Ames mutagenicity, hERG, DILI, carcinogenicity, LD50, skin sensitisation.

What It Does

Use Toxicity Predictor when you need ames mutagenicity, hERG, DILI, carcinogenicity, LD50, skin sensitisation.

Canvas color: #7C3AED. Category: drug.

How To Use

  1. Drag the block from Drug Discovery into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
molecule_var
Molecule
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
endpoints
Endpoints
json["Ames","hERG","DILI"]Points to an external service or local API endpoint. Check credentials and network access before running.
output_var
Output
stringtoxicityConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let toxicity = toxicity(mol)

008 / Drug Discovery

Binding Free Energy

binding_free_energy

Protein-ligand ΔG via MM-GBSA, FEP, or PBSA.

What It Does

Use Binding Free Energy when you need protein-ligand ΔG via MM-GBSA, FEP, or PBSA.

Canvas color: #7C3AED. Category: drug.

How To Use

  1. Drag the block from Drug Discovery into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
protein_var
Protein
stringproteinSets a numeric boundary, size, count, or top-N selection used to bound work and output.
ligand_var
Ligand
stringligandConfiguration value used by this block when generating Sansqrit DSL code.
scoring
Method
selectMM-GBSAChooses from supported modes for predictable generated code.
Options: MM-GBSA, FEP, PBSA
output_var
Output ΔG
stringdelta_gConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Ī”G kcal/molclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let delta_g = binding_free_energy(protein, ligand)
šŸ›”

error_mit

Error Mitigation

Use this family when the workflow needs this block group as part of a larger visual program.

5 blocks

001 / Error Mitigation

ZNE

zne_block

Zero-Noise Extrapolation: scaled noise (1Ɨ,2Ɨ,3Ɨ) extrapolated to zero via Richardson.

What It Does

Use ZNE when you need zero-Noise Extrapolation: scaled noise (1Ɨ,2Ɨ,3Ɨ) extrapolated to zero via Richardson.

Canvas color: #0891B2. Category: error_mit.

How To Use

  1. Drag the block from Error Mitigation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
scale_factors
Scale factors
json[1,2,3]Configuration value used by this block when generating Sansqrit DSL code.
extrapolation
Extrapolation
selectrichardsonChooses from supported modes for predictable generated code.
Options: linear, quadratic, richardson
shots
Shots/level
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 100 to 100000
output_var
Output
stringmitigated_valConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let mitigated_val = zne(circuit, scales=[1,2,3])

002 / Error Mitigation

PEC

pec_block

Probabilistic Error Cancellation: represents ideal op as linear combination of noisy ops.

What It Does

Use PEC when you need probabilistic Error Cancellation: represents ideal op as linear combination of noisy ops.

Canvas color: #0891B2. Category: error_mit.

How To Use

  1. Drag the block from Error Mitigation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
noise_level
Error rate
number0.01Numeric configuration used during code generation or execution.
Range: 0 to 1
n_circuits
Circuits
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
output_var
Output
stringpec_valConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let pec_val = pec(circuit, noise=0.01)

003 / Error Mitigation

Pauli Twirling

twirl_block

Converts coherent noise into Pauli noise by random Pauli insertion.

What It Does

Use Pauli Twirling when you need converts coherent noise into Pauli noise by random Pauli insertion.

Canvas color: #0891B2. Category: error_mit.

How To Use

  1. Drag the block from Error Mitigation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_samples
Samples
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
output_var
Output
stringtwirledConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let twirled = pauli_twirl(circuit, n=100)

004 / Error Mitigation

Symmetry Verification

symmetry_verify

Post-select on Hamiltonian symmetries. Detects and discards error-corrupted shots.

What It Does

Use Symmetry Verification when you need post-select on Hamiltonian symmetries. Detects and discards error-corrupted shots.

Canvas color: #0891B2. Category: error_mit.

How To Use

  1. Drag the block from Error Mitigation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
symmetry_op
Symmetry op
stringZ0+Z1+Z2Configuration value used by this block when generating Sansqrit DSL code.
eigenvalue
Expected eigenvalue
number0Numeric configuration used during code generation or execution.
Range: -10 to 10
output_var
Output
stringsym_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let sym_result = symmetry_verify(q, sym="Z0+Z1+Z2")

005 / Error Mitigation

Clifford Data Regression

cdr_block

Trains regression on near-Clifford circuits (classically simulable) to subtract error.

What It Does

Use Clifford Data Regression when you need trains regression on near-Clifford circuits (classically simulable) to subtract error.

Canvas color: #0891B2. Category: error_mit.

How To Use

  1. Drag the block from Error Mitigation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_training
Training circuits
number20Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 5 to 200
output_var
Output
stringcdr_valConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let cdr_val = clifford_regression(circuit)
āš™

exec_ctrl

Execution Control

Use this family when the workflow needs this block group as part of a larger visual program.

5 blocks

001 / Execution Control

Parallel Execute

parallel_exec

Execute blocks in parallel using worker threads or async.

What It Does

Use Parallel Execute when you need execute blocks in parallel using worker threads or async.

Canvas color: #6B7280. Category: exec_ctrl.

How To Use

  1. Drag the block from Execution Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
backend
Backend
selectasyncChooses from supported modes for predictable generated code.
Options: threads, async, processes
max_workers
Max workers
number4Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 64
wait_all
Wait for all
booltrueTurns an optional behavior on or off for this block.
output_var
Results variable
stringpar_resultsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let par_results = parallel_exec(tasks, workers=4)

002 / Execution Control

Rate Limiter

rate_limiter

Throttle API calls. Sliding window or token bucket.

What It Does

Use Rate Limiter when you need throttle API calls. Sliding window or token bucket.

Canvas color: #6B7280. Category: exec_ctrl.

How To Use

  1. Drag the block from Execution Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
calls_per_second
Calls per second
number5Numeric configuration used during code generation or execution.
Range: 0.1 to 1000
algorithm
Algorithm
selecttoken_bucketChooses the algorithmic behavior or transformation strategy.
Options: sliding_window, token_bucket, leaky_bucket
burst_limit
Burst limit
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# rate_limiter(5/s)

003 / Execution Control

Retry

retry_block

Retry on failure with exponential backoff.

What It Does

Use Retry when you need retry on failure with exponential backoff.

Canvas color: #6B7280. Category: exec_ctrl.

How To Use

  1. Drag the block from Execution Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
max_retries
Max retries
number3Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 20
base_delay_ms
Base delay (ms)
number1000Numeric configuration used during code generation or execution.
Range: 0 to 60000
backoff_factor
Backoff multiplier
number2Numeric configuration used during code generation or execution.
Range: 1 to 10
retry_on
Retry on exceptions
json["TimeoutError","ConnectionError"]Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# retry(max_retries=3, backoff=2x)

004 / Execution Control

Checkpoint

checkpoint_block

Save execution state so runs can be resumed after interruption.

What It Does

Use Checkpoint when you need save execution state so runs can be resumed after interruption.

Canvas color: #6B7280. Category: exec_ctrl.

How To Use

  1. Drag the block from Execution Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
checkpoint_id
Checkpoint ID
stringrun_001Configuration value used by this block when generating Sansqrit DSL code.
data_var
Data to checkpoint
stringstateConfiguration value used by this block when generating Sansqrit DSL code.
storage
Storage
selectfileChooses from supported modes for predictable generated code.
Options: file, redis, s3
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

checkpoint("run_001", state)

005 / Execution Control

Scheduler

scheduler_block

Trigger execution on cron schedule or interval.

What It Does

Use Scheduler when you need trigger execution on cron schedule or interval.

Canvas color: #6B7280. Category: exec_ctrl.

How To Use

  1. Drag the block from Execution Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
cron_expr
Cron expression
string0 * * * *Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
tz
Timezone
selectUTCChooses from supported modes for predictable generated code.
Options: UTC, Asia/Kolkata, America/New_York, Europe/London
run_on_start
Run immediately on start
boolfalseSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# schedule("0 * * * *")
šŸ“

file_src

File Sources

Use this family when the workflow needs this block group as part of a larger visual program.

8 blocks

001 / File Sources

CSV Reader

csv_reader

Read CSV/TSV. Auto-detect types, handle missing values.

What It Does

Use CSV Reader when you need read CSV/TSV. Auto-detect types, handle missing values.

Canvas color: #0EA5E9. Category: file_src.

How To Use

  1. Drag the block from File Sources into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
file_path
File path
stringdata.csvPoints to local or uploaded data. Use the upload/data controls when working with local files.
separator
Separator
string,Configuration value used by this block when generating Sansqrit DSL code.
header
Has header
booltrueTurns an optional behavior on or off for this block.
auto_types
Auto-detect types
booltrueChooses the algorithmic behavior or transformation strategy.
encoding
Encoding
stringutf-8Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output variable
stringdfConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let df = csv_read("data.csv")

002 / File Sources

JSON Reader

json_reader

Read JSON / JSONL files.

What It Does

Use JSON Reader when you need read JSON / JSONL files.

Canvas color: #0EA5E9. Category: file_src.

How To Use

  1. Drag the block from File Sources into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
file_path
File path
stringdata.jsonPoints to local or uploaded data. Use the upload/data controls when working with local files.
jsonl_mode
JSONL mode
boolfalseChooses the algorithmic behavior or transformation strategy.
output_var
Output variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let data = json_read("data.json")

003 / File Sources

XML Reader

xml_reader

Read XML files and flatten repeated elements into a table.

What It Does

Use XML Reader when you need read XML files and flatten repeated elements into a table.

Canvas color: #0EA5E9. Category: file_src.

How To Use

  1. Drag the block from File Sources into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
file_path
File path
stringdata.xmlPoints to local or uploaded data. Use the upload/data controls when working with local files.
row_selector
Row selector
string//itemConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Output variable
stringdataframeConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

# XML reader for data.xml → dataframe

004 / File Sources

Parquet Reader

parquet_reader

Read columnar Parquet files. Efficient for large datasets.

What It Does

Use Parquet Reader when you need read columnar Parquet files. Efficient for large datasets.

Canvas color: #0EA5E9. Category: file_src.

How To Use

  1. Drag the block from File Sources into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
file_path
File path
stringdata.parquetPoints to local or uploaded data. Use the upload/data controls when working with local files.
columns
Columns (blank=all)
stringemptyChooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
output_var
Output variable
stringdfConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let df = parquet_read("data.parquet")

005 / File Sources

Excel Reader

excel_reader

Read .xlsx / .xls files.

What It Does

Use Excel Reader when you need read .xlsx / .xls files.

Canvas color: #0EA5E9. Category: file_src.

How To Use

  1. Drag the block from File Sources into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
file_path
File path
stringdata.xlsxPoints to local or uploaded data. Use the upload/data controls when working with local files.
sheet_name
Sheet
stringSheet1Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
header
Has header
booltrueTurns an optional behavior on or off for this block.
output_var
Output
stringdfConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let df = excel_read("data.xlsx", sheet="Sheet1")

006 / File Sources

HDF5 Reader

hdf5_reader

Read HDF5 data files. Used by MD outputs, DICOM, NumPy.

What It Does

Use HDF5 Reader when you need read HDF5 data files. Used by MD outputs, DICOM, NumPy.

Canvas color: #0EA5E9. Category: file_src.

How To Use

  1. Drag the block from File Sources into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
file_path
File path
stringdata.h5Points to local or uploaded data. Use the upload/data controls when working with local files.
dataset_path
Dataset path
string/dataPoints to local or uploaded data. Use the upload/data controls when working with local files.
output_var
Output
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let data = hdf5_read("data.h5", path="/data")

007 / File Sources

PDB Reader

pdb_reader

Load Protein Data Bank structure files.

What It Does

Use PDB Reader when you need load Protein Data Bank structure files.

Canvas color: #0EA5E9. Category: file_src.

How To Use

  1. Drag the block from File Sources into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
file_path
PDB file or ID
stringprotein.pdbPoints to local or uploaded data. Use the upload/data controls when working with local files.
fetch_from_rcsb
Fetch from RCSB by ID
boolfalseTurns an optional behavior on or off for this block.
output_var
Output
stringproteinConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let protein = pdb_load("protein.pdb")

008 / File Sources

File Watcher

file_watcher

Watch file/directory for changes and trigger downstream on new data.

What It Does

Use File Watcher when you need watch file/directory for changes and trigger downstream on new data.

Canvas color: #0EA5E9. Category: file_src.

How To Use

  1. Drag the block from File Sources into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
watch_path
Watch path
string./data/Points to local or uploaded data. Use the upload/data controls when working with local files.
event
Trigger on
selectcreatedChooses from supported modes for predictable generated code.
Options: created, modified, deleted, any
debounce_ms
Debounce (ms)
number500Numeric configuration used during code generation or execution.
Range: 0 to 10000
output_var
Output filepath
stringnew_fileConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

# file_watcher("./data/")
Ī»

fn_block

Functions

Use this family when the workflow needs this block group as part of a larger visual program.

4 blocks

001 / Functions

Function

fn_def

Define reusable function. SimpleSanskrit: def f(x): return x*2 FullSanskrit: fn f(x: float) -> float { x * 2.0 }

What It Does

Use Function when you need define reusable function. SimpleSanskrit: def f(x): return x*2 FullSanskrit: fn f(x: float) -> float { x * 2.0 }

Canvas color: #D97706. Category: fn_block.

How To Use

  1. Drag the block from Functions into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
fn_name
Name
stringmy_functionNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
params
Parameters
json[{"name":"x","type":"float"}]Configuration value used by this block when generating Sansqrit DSL code.
return_type
Return type
stringfloatChooses the algorithmic behavior or transformation strategy.
is_async
Async
boolfalseTurns an optional behavior on or off for this block.
memoize
Memoize results
boolfalseTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

def my_function(x):

002 / Functions

Function Call

fn_call

Call a function with positional or keyword arguments.

What It Does

Use Function Call when you need call a function with positional or keyword arguments.

Canvas color: #D97706. Category: fn_block.

How To Use

  1. Drag the block from Functions into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
fn_name
Function name
stringmy_functionNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
args
Arguments
json["arg1"]Configuration value used by this block when generating Sansqrit DSL code.
kwargs
Named args
json{}Configuration value used by this block when generating Sansqrit DSL code.
output_var
Result variable
stringresultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let result = my_function(arg1)

003 / Functions

Lambda

lambda_block

Anonymous function: f = lambda x, y: x + y

What It Does

Use Lambda when you need anonymous function: f = lambda x, y: x + y

Canvas color: #D97706. Category: fn_block.

How To Use

  1. Drag the block from Functions into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
params
Parameters
stringx, yConfiguration value used by this block when generating Sansqrit DSL code.
body
Body expression
stringx + yConfiguration value used by this block when generating Sansqrit DSL code.
assign_to
Assign to
stringfSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let f = lambda x, y: x + y

004 / Functions

Async Function

async_fn

Non-blocking async function for network/IO operations.

What It Does

Use Async Function when you need non-blocking async function for network/IO operations.

Canvas color: #D97706. Category: fn_block.

How To Use

  1. Drag the block from Functions into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
fn_name
Name
stringfetch_dataNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
timeout_ms
Timeout (ms)
number30000Numeric configuration used during code generation or execution.
Range: 100 to 300000
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

async def fetch_data():
✨

genai

GenAI & LLMs

Use this family to build prediction, embedding, agent, model-evaluation, and learning workflows.

24 blocks

001 / GenAI & LLMs

OpenAI

openai_block

GPT-4o, GPT-4 turbo, o1, o3. Tool calling, streaming, vision, JSON mode.

What It Does

Use OpenAI when you need gPT-4o, GPT-4 turbo, o1, o3. Tool calling, streaming, vision, JSON mode.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model
Model
selectgpt-4oChooses the algorithmic behavior or transformation strategy.
Options: gpt-4o, gpt-4o-mini, gpt-4-turbo, o1-preview, o3-mini
api_key_var
API key var
stringOPENAI_API_KEYPoints to an external service or local API endpoint. Check credentials and network access before running.
system_prompt
System prompt
stringYou are a helpful assistant.Configuration value used by this block when generating Sansqrit DSL code.
user_prompt
User prompt
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
temperature
Temperature
number0.7Numeric configuration used during code generation or execution.
Range: 0 to 2
max_tokens
Max tokens
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 128000
stream
Stream
boolfalseTurns an optional behavior on or off for this block.
json_mode
JSON mode
boolfalseChooses the algorithmic behavior or transformation strategy.
track_cost
Track cost
booltrueTurns an optional behavior on or off for this block.
output_var
Output variable
stringgpt_responseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let gpt_response = openai(model="gpt-4o", prompt="", max_tokens=1000)

002 / GenAI & LLMs

Anthropic Claude

anthropic_block

Claude Sonnet/Opus/Haiku. Extended thinking, vision, tool use.

What It Does

Use Anthropic Claude when you need claude Sonnet/Opus/Haiku. Extended thinking, vision, tool use.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model
Model
selectclaude-sonnet-4-6Chooses the algorithmic behavior or transformation strategy.
Options: claude-sonnet-4-6, claude-opus-4-6, claude-haiku-4-5-20251001, claude-3-5-sonnet-20241022
api_key_var
API key var
stringANTHROPIC_API_KEYPoints to an external service or local API endpoint. Check credentials and network access before running.
system_prompt
System prompt
stringYou are a helpful assistant.Configuration value used by this block when generating Sansqrit DSL code.
user_prompt
User prompt
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
max_tokens
Max tokens
number1024Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 200000
temperature
Temperature
number0.7Numeric configuration used during code generation or execution.
Range: 0 to 1
extended_thinking
Extended thinking
boolfalseTurns an optional behavior on or off for this block.
thinking_budget
Thinking budget tokens
number10000Numeric configuration used during code generation or execution.
Range: 1000 to 100000
stream
Stream
boolfalseTurns an optional behavior on or off for this block.
track_cost
Track cost
booltrueTurns an optional behavior on or off for this block.
output_var
Output variable
stringclaude_responseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let claude_response = anthropic(model="claude-sonnet-4-6", prompt="", max_tokens=1024)

003 / GenAI & LLMs

Google Gemini

gemini_block

Gemini 2.5 Flash/Pro. Multimodal: text, image, video, audio, code.

What It Does

Use Google Gemini when you need gemini 2.5 Flash/Pro. Multimodal: text, image, video, audio, code.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model
Model
selectgemini-2.5-flashChooses the algorithmic behavior or transformation strategy.
Options: gemini-2.5-flash, gemini-2.5-pro, gemini-1.5-pro, gemini-1.5-flash
api_key_var
API key var
stringGEMINI_API_KEYPoints to an external service or local API endpoint. Check credentials and network access before running.
prompt
Prompt
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
temperature
Temperature
number0.7Numeric configuration used during code generation or execution.
Range: 0 to 2
max_tokens
Max tokens
number8192Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000000
multimodal
Multimodal (image/video)
boolfalseTurns an optional behavior on or off for this block.
output_var
Output variable
stringgemini_responseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Media (optional)anyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let gemini_response = gemini(model="gemini-2.5-flash", prompt="")

004 / GenAI & LLMs

Ollama (Local)

ollama_block

Local inference. No API key. Llama3, Mistral, CodeLlama, Phi, Gemma, DeepSeek.

What It Does

Use Ollama (Local) when you need local inference. No API key. Llama3, Mistral, CodeLlama, Phi, Gemma, DeepSeek.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model
Model
selectllama3.3Chooses the algorithmic behavior or transformation strategy.
Options: llama3.3, mistral, codellama, phi4, gemma3, deepseek-r1, qwen2.5
host
Ollama host
stringhttp://localhost:11434Configuration value used by this block when generating Sansqrit DSL code.
prompt
Prompt
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
temperature
Temperature
number0.7Numeric configuration used during code generation or execution.
Range: 0 to 2
max_tokens
Max tokens
number2048Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 128000
stream
Stream
boolfalseTurns an optional behavior on or off for this block.
output_var
Output variable
stringollama_responseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ollama_response = ollama(model="llama3.3", prompt="")

005 / GenAI & LLMs

MCP Server

mcp_server

Model Context Protocol connector. Exposes tools from any MCP-compatible service to LLMs.

What It Does

Use MCP Server when you need model Context Protocol connector. Exposes tools from any MCP-compatible service to LLMs.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
server_url
Server URL
stringhttps://mcp.example.com/ssePoints to an external service or local API endpoint. Check credentials and network access before running.
server_name
Server name
stringmy_mcpNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
transport
Transport
selectSSEChooses from supported modes for predictable generated code.
Options: SSE, stdio, websocket
output_var
Output server ref
stringmcp_serverConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let mcp_server = mcp_connect("https://mcp.example.com/sse")

006 / GenAI & LLMs

MCP Tool Call

mcp_tool_call

Invoke a specific tool exposed by an MCP server.

What It Does

Use MCP Tool Call when you need invoke a specific tool exposed by an MCP server.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
server_var
MCP server variable
stringmcp_serverConfiguration value used by this block when generating Sansqrit DSL code.
tool_name
Tool name
stringsearchNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
tool_params
Tool parameters
json{}Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output variable
stringtool_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let tool_result = mcp_call(mcp_server, "search", {})

007 / GenAI & LLMs

LLM Router

llm_router

Auto-selects cheapest/fastest provider matching quality requirements. Falls back on error.

What It Does

Use LLM Router when you need auto-selects cheapest/fastest provider matching quality requirements. Falls back on error.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
prompt
Prompt
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
strategy
Strategy
selectbalancedChooses the algorithmic behavior or transformation strategy.
Options: cheapest, fastest, best_quality, balanced
fallback
Fallback
selectollamaChooses from supported modes for predictable generated code.
Options: ollama, gemini-2.5-flash
max_cost_cents
Max cost per call (Ā¢)
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 1000
output_var
Output variable
stringrouted_responseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let routed_response = llm_router("", strategy="balanced")

008 / GenAI & LLMs

Embeddings

embeddings_block

Dense vector embeddings: OpenAI text-embedding-3, Cohere, local sentence-transformers.

What It Does

Use Embeddings when you need dense vector embeddings: OpenAI text-embedding-3, Cohere, local sentence-transformers.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text/list
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selecttext-embedding-3-smallChooses the algorithmic behavior or transformation strategy.
Options: text-embedding-3-large, text-embedding-3-small, all-MiniLM-L6, mxbai-embed-large
output_var
Output embeddings
stringembeddingsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let embeddings = embed(text, model="text-embedding-3-small")

009 / GenAI & LLMs

RAG Pipeline

rag_block

Retrieval-Augmented Generation: embed docs, vector search, augmented LLM call.

What It Does

Use RAG Pipeline when you need retrieval-Augmented Generation: embed docs, vector search, augmented LLM call.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
documents_var
Documents variable
stringdocsConfiguration value used by this block when generating Sansqrit DSL code.
query
Query
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
vector_store
Vector store
selectchromadbChooses from supported modes for predictable generated code.
Options: chromadb, faiss, pinecone, qdrant
top_k
Top-K
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 100
llm_model
LLM model
selectgpt-4oChooses the algorithmic behavior or transformation strategy.
Options: gpt-4o, claude-sonnet-4-6, gemini-2.5-flash
output_var
Output answer
stringrag_answerConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let rag_answer = rag(docs, "", top_k=5)

010 / GenAI & LLMs

LLM Agent

agent_block

Autonomous ReAct / tool-use agent. Loops: reason → act → observe until done.

What It Does

Use LLM Agent when you need autonomous ReAct / tool-use agent. Loops: reason → act → observe until done.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
system_prompt
System prompt
stringYou are a helpful agent.Configuration value used by this block when generating Sansqrit DSL code.
user_goal
User goal
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
tools
Available tools
json["web_search","calculator","code_exec"]Configuration value used by this block when generating Sansqrit DSL code.
llm_model
LLM
selectclaude-sonnet-4-6Chooses the algorithmic behavior or transformation strategy.
Options: gpt-4o, claude-sonnet-4-6
max_steps
Max steps
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 100
output_var
Output result
stringagent_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let agent_result = agent("", model="claude-sonnet-4-6", max_steps=10)

011 / GenAI & LLMs

Prompt Template

prompt_template

Jinja2-style prompt template with variable substitution.

What It Does

Use Prompt Template when you need jinja2-style prompt template with variable substitution.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
template
Template
codeYou are a {{role}}. Answer: {{question}}Raw code text interpreted by the Sansqrit DSL runtime.
variables
Variables
json{"role":"scientist","question":"..."}Configuration value used by this block when generating Sansqrit DSL code.
output_var
Rendered prompt
stringpromptConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let prompt = prompt_template("""You are a {{role}}. Answer: {{question}}""")

012 / GenAI & LLMs

Chain of Thought

chain_of_thought

Few-shot chain-of-thought prompting for complex reasoning.

What It Does

Use Chain of Thought when you need few-shot chain-of-thought prompting for complex reasoning.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
question_var
Question
stringquestionSets a numeric boundary, size, count, or top-N selection used to bound work and output.
examples
CoT examples
json[{"q":"...","cot":"...","a":"..."}]Configuration value used by this block when generating Sansqrit DSL code.
model
LLM model
selectclaude-sonnet-4-6Chooses the algorithmic behavior or transformation strategy.
Options: claude-sonnet-4-6, gpt-4o, gemini-2.5-flash
output_var
Answer
stringcot_answerConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let cot_answer = chain_of_thought(question, model="claude-sonnet-4-6")

013 / GenAI & LLMs

LLM Tool Use

tool_use_block

Structured function calling / tool use for Anthropic, OpenAI, Gemini.

What It Does

Use LLM Tool Use when you need structured function calling / tool use for Anthropic, OpenAI, Gemini.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
prompt_var
User prompt
stringtaskConfiguration value used by this block when generating Sansqrit DSL code.
tools
Tool definitions
json[{"name":"calculator","description":"...","parameters":{}}]Configuration value used by this block when generating Sansqrit DSL code.
model
Model
selectclaude-sonnet-4-6Chooses the algorithmic behavior or transformation strategy.
Options: claude-sonnet-4-6, gpt-4o, gemini-2.5-pro
output_var
Tool result
stringtool_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let tool_result = llm_tool_use(task, model="claude-sonnet-4-6")

014 / GenAI & LLMs

Structured Output

structured_output

Force LLM to return valid JSON matching a schema (JSON mode / Instructor).

What It Does

Use Structured Output when you need force LLM to return valid JSON matching a schema (JSON mode / Instructor).

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
prompt_var
Prompt
stringpromptConfiguration value used by this block when generating Sansqrit DSL code.
schema
Output schema
json{"type":"object","properties":{"name":{"type":"string"}}}Configuration value used by this block when generating Sansqrit DSL code.
model
Model
selectgpt-4oChooses the algorithmic behavior or transformation strategy.
Options: claude-sonnet-4-6, gpt-4o, gemini-2.5-flash
output_var
Parsed object
stringstructured_dataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let structured_data = structured_output(prompt, schema={"type":"object","properties":{"name":{"type":"string"}}})

015 / GenAI & LLMs

Vector Store

vector_store_block

Build and query semantic vector store for documents.

What It Does

Use Vector Store when you need build and query semantic vector store for documents.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
documents_var
Documents
stringdocsConfiguration value used by this block when generating Sansqrit DSL code.
store
Vector store
selectChromaDBChooses from supported modes for predictable generated code.
Options: ChromaDB, Pinecone, Qdrant, FAISS, pgvector
embedding_model
Embedding model
selecttext-embedding-3-smallChooses the algorithmic behavior or transformation strategy.
Options: text-embedding-3-small, all-MiniLM-L6, mxbai-embed-large
collection
Collection name
stringmy_docsConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Vector store
stringvstoreConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let vstore = vector_store(docs, store="ChromaDB")

017 / GenAI & LLMs

LLM Judge

llm_judge

Use LLM to evaluate quality, accuracy, or toxicity of generated text.

What It Does

Use LLM Judge when you need use LLM to evaluate quality, accuracy, or toxicity of generated text.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
response_var
Response to evaluate
stringresponseConfiguration value used by this block when generating Sansqrit DSL code.
criteria_var
Evaluation criteria
stringcriteriaConfiguration value used by this block when generating Sansqrit DSL code.
judge_model
Judge model
selectgpt-4oChooses the algorithmic behavior or transformation strategy.
Options: gpt-4o, claude-opus-4-6, gemini-2.5-pro
output_format
Output format
selectscore_1_10Chooses from supported modes for predictable generated code.
Options: score_1_10, pass_fail, rubric
output_var
Score
stringllm_scoreConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let llm_score = llm_judge(response, model="gpt-4o")

018 / GenAI & LLMs

Conversation Memory

memory_block

Persist and retrieve conversation history for multi-turn LLM interactions.

What It Does

Use Conversation Memory when you need persist and retrieve conversation history for multi-turn LLM interactions.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
memory_type
Memory type
selectbufferChooses the algorithmic behavior or transformation strategy.
Options: buffer, summary, entity, vector
max_tokens
Max memory tokens
number4000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 100 to 200000
session_id
Session ID
stringsession_001Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
output_var
Memory store
stringmemoryConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let memory = memory_store("session_001", type="buffer")

019 / GenAI & LLMs

LLM Guardrails

guardrails_block

Input/output validation: content moderation, PII detection, topic filtering.

What It Does

Use LLM Guardrails when you need input/output validation: content moderation, PII detection, topic filtering.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Text to check
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
checks
Guardrail checks
json["pii","toxicity","off_topic"]Configuration value used by this block when generating Sansqrit DSL code.
action_on_fail
Action
selectwarnSets a numeric boundary, size, count, or top-N selection used to bound work and output.
Options: block, warn, redact, log
output_var
Safe text
stringsafe_textConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let safe_text = guardrails(text)

020 / GenAI & LLMs

LLM Fine-Tuning

fine_tune_block

Fine-tune LLMs: LoRA, QLoRA, full fine-tuning via OpenAI or HuggingFace.

What It Does

Use LLM Fine-Tuning when you need fine-tune LLMs: LoRA, QLoRA, full fine-tuning via OpenAI or HuggingFace.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
base_model
Base model
stringmeta-llama/Llama-3.1-8BChooses the algorithmic behavior or transformation strategy.
training_data_var
Training JSONL
stringtrain_dataConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectLoRAChooses the algorithmic behavior or transformation strategy.
Options: LoRA, QLoRA, full_finetune, DPO, RLHF
epochs
Epochs
number3Numeric configuration used during code generation or execution.
Range: 1 to 100
lr
Learning rate
number0.0002Numeric configuration used during code generation or execution.
Range: 0.000001 to 0.1
output_model
Output model
stringft_llmChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let ft_llm = finetune("meta-llama/Llama-3.1-8B", train_data, method="LoRA")

021 / GenAI & LLMs

Multimodal LLM

multimodal_block

Vision+language: analyse images, PDFs, audio with GPT-4o, Claude, Gemini.

What It Does

Use Multimodal LLM when you need vision+language: analyse images, PDFs, audio with GPT-4o, Claude, Gemini.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Text prompt
stringpromptConfiguration value used by this block when generating Sansqrit DSL code.
media_type
Media type
selectimageChooses the algorithmic behavior or transformation strategy.
Options: image, pdf, audio, video
media_var
Media variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectgpt-4oChooses the algorithmic behavior or transformation strategy.
Options: gpt-4o, claude-sonnet-4-6, gemini-2.5-flash
output_var
Response
stringmm_responseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let mm_response = multimodal(prompt, img, model="gpt-4o")

022 / GenAI & LLMs

Code Generation

code_gen_block

AI code generation, explanation, refactoring, and review.

What It Does

Use Code Generation when you need aI code generation, explanation, refactoring, and review.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
instruction_var
Coding instruction
stringinstructionSets a numeric boundary, size, count, or top-N selection used to bound work and output.
language
Language
selectPythonChooses from supported modes for predictable generated code.
Options: Python, JavaScript, TypeScript, Rust, Go, C++, Java, SQL
model
Model
selectclaude-sonnet-4-6Chooses the algorithmic behavior or transformation strategy.
Options: claude-sonnet-4-6, gpt-4o, gemini-2.5-flash, deepseek-r1
output_var
Generated code
stringgen_codeConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let gen_code = code_gen("instruction", lang="Python")

023 / GenAI & LLMs

LLM Eval Framework

eval_framework

Evaluate LLM responses: RAGAS, DeepEval, custom metrics.

What It Does

Use LLM Eval Framework when you need evaluate LLM responses: RAGAS, DeepEval, custom metrics.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
dataset_var
Eval dataset
stringeval_dataConfiguration value used by this block when generating Sansqrit DSL code.
metrics
Metrics
json["faithfulness","answer_relevancy","context_precision"]Configuration value used by this block when generating Sansqrit DSL code.
framework
Framework
selectRAGASChooses from supported modes for predictable generated code.
Options: RAGAS, DeepEval, HELM, EleutherAI_Eval
output_var
Eval scores
stringeval_scoresConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let eval_scores = llm_eval(eval_data, framework="RAGAS")

024 / GenAI & LLMs

Synthetic Data Gen

synthetic_data_gen

Generate synthetic training data using LLMs.

What It Does

Use Synthetic Data Gen when you need generate synthetic training data using LLMs.

Canvas color: #9333EA. Category: genai.

How To Use

  1. Drag the block from GenAI & LLMs into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
schema_var
Data schema
stringschemaConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectself_instructChooses the algorithmic behavior or transformation strategy.
Options: few_shot_llm, evol_instruct, self_instruct, backtranslation
n_samples
Samples
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 1000000
model
Model
selectgpt-4oChooses the algorithmic behavior or transformation strategy.
Options: gpt-4o, claude-sonnet-4-6
output_var
Synthetic data
stringsynthetic_dataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let synthetic_data = synth_data(schema, n=1000)
šŸ–„

hardware

Hardware Export

Use this family when the workflow needs this block group as part of a larger visual program.

5 blocks

001 / Hardware Export

OpenQASM Export

qasm_export

Export circuit to OpenQASM 2.0 or 3.0 for IBM Quantum / Qiskit.

What It Does

Use OpenQASM Export when you need export circuit to OpenQASM 2.0 or 3.0 for IBM Quantum / Qiskit.

Canvas color: #7C3AED. Category: hardware.

How To Use

  1. Drag the block from Hardware Export into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register_var
Register variable
stringqConfiguration value used by this block when generating Sansqrit DSL code.
version
QASM version
select3.0Chooses from supported modes for predictable generated code.
Options: 2.0, 3.0
optimise
Optimise gates
booltrueTurns an optional behavior on or off for this block.
include_barriers
Include barriers
boolfalseTurns an optional behavior on or off for this block.
output_file
Output file
stringcircuit.qasmPoints to local or uploaded data. Use the upload/data controls when working with local files.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

export_qasm(q, version="3.0", file="circuit.qasm")

002 / Hardware Export

Cirq Export

cirq_export

Export to Google Cirq circuit for Sycamore processor.

What It Does

Use Cirq Export when you need export to Google Cirq circuit for Sycamore processor.

Canvas color: #7C3AED. Category: hardware.

How To Use

  1. Drag the block from Hardware Export into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register_var
Register variable
stringqConfiguration value used by this block when generating Sansqrit DSL code.
device
Target device
stringsycamoreConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Output circuit
stringcirq_circuitConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let cirq_circuit = export_cirq(q)

003 / Hardware Export

IBM Runtime Submit

ibm_runtime

Submit circuit to IBM Quantum via Qiskit Runtime primitives.

What It Does

Use IBM Runtime Submit when you need submit circuit to IBM Quantum via Qiskit Runtime primitives.

Canvas color: #7C3AED. Category: hardware.

How To Use

  1. Drag the block from Hardware Export into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
circuit_var
Circuit variable
stringqConfiguration value used by this block when generating Sansqrit DSL code.
ibm_token_var
Token env var
stringIBM_TOKENSets a numeric boundary, size, count, or top-N selection used to bound work and output.
backend
Backend
stringibm_brisbaneConfiguration value used by this block when generating Sansqrit DSL code.
primitive
Primitive
selectSamplerChooses from supported modes for predictable generated code.
Options: Sampler, Estimator
shots
Shots
number4096Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 1 to 100000
job_id_var
Job ID variable
stringjob_idConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let job_id = ibm_submit(q, backend="ibm_brisbane", shots=4096)

004 / Hardware Export

AWS Braket Submit

braket_submit

Submit to AWS Braket: IonQ, Rigetti, OQC, IQM, or local simulator.

What It Does

Use AWS Braket Submit when you need submit to AWS Braket: IonQ, Rigetti, OQC, IQM, or local simulator.

Canvas color: #7C3AED. Category: hardware.

How To Use

  1. Drag the block from Hardware Export into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
circuit_var
Circuit variable
stringqConfiguration value used by this block when generating Sansqrit DSL code.
device
Device
selectlocal_simChooses from supported modes for predictable generated code.
Options: IonQ Harmony, Rigetti Aspen-M, local_sim
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 1 to 100000
s3_bucket
S3 results bucket
stringbraket-resultsConfiguration value used by this block when generating Sansqrit DSL code.
job_id_var
Job ID variable
stringbraket_jobConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let undefined = braket_submit(q, device="local_sim")

005 / Hardware Export

Quil Export

quil_export

Export to Quil format for Rigetti quantum processors.

What It Does

Use Quil Export when you need export to Quil format for Rigetti quantum processors.

Canvas color: #7C3AED. Category: hardware.

How To Use

  1. Drag the block from Hardware Export into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register_var
Register variable
stringqConfiguration value used by this block when generating Sansqrit DSL code.
output_file
Output file
stringcircuit.quilPoints to local or uploaded data. Use the upload/data controls when working with local files.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

export_quil(q, file="circuit.quil")
šŸ“

logging

Logging & Debug

Use this family when the workflow needs this block group as part of a larger visual program.

8 blocks

001 / Logging & Debug

Logger

logger_block

Structured logging with levels and JSON output.

What It Does

Use Logger when you need structured logging with levels and JSON output.

Canvas color: #EAB308. Category: logging.

How To Use

  1. Drag the block from Logging & Debug into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
message
Message
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
level
Log level
stringINFOConfiguration value used by this block when generating Sansqrit DSL code.
format
Format
selecttextChooses from supported modes for predictable generated code.
Options: text, json, structured
include_timestamp
Include timestamp
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

log("INFO", "")

002 / Logging & Debug

Metric

metric_block

Record numeric metric: gauge, counter, histogram. Prometheus, DataDog, CloudWatch.

What It Does

Use Metric when you need record numeric metric: gauge, counter, histogram. Prometheus, DataDog, CloudWatch.

Canvas color: #EAB308. Category: logging.

How To Use

  1. Drag the block from Logging & Debug into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
metric_name
Metric name
stringiteration_energyNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
metric_type
Type
selectgaugeChooses the algorithmic behavior or transformation strategy.
Options: gauge, counter, histogram
value_var
Value variable
stringenergyConfiguration value used by this block when generating Sansqrit DSL code.
labels
Labels
json{"experiment":"vqe"}Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
backend
Backend
selectconsoleChooses from supported modes for predictable generated code.
Options: console, prometheus, datadog, cloudwatch
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

metric("iteration_energy", energy)

003 / Logging & Debug

Profiler

profiler_block

Time the enclosed block. Report to logs panel.

What It Does

Use Profiler when you need time the enclosed block. Report to logs panel.

Canvas color: #EAB308. Category: logging.

How To Use

  1. Drag the block from Logging & Debug into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
label
Profiler label
stringvqe_stepNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
memory_profile
Memory profile too
boolfalsePoints to local or uploaded data. Use the upload/data controls when working with local files.
output_var
Elapsed ms variable
stringelapsed_msConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

# profiler: vqe_step

004 / Logging & Debug

Assert

assert_block

Assert a condition. Throws descriptive error on failure.

What It Does

Use Assert when you need assert a condition. Throws descriptive error on failure.

Canvas color: #EAB308. Category: logging.

How To Use

  1. Drag the block from Logging & Debug into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
condition
Condition
stringenergy < 0Configuration value used by this block when generating Sansqrit DSL code.
message
Failure message
stringEnergy must be negativeConfiguration value used by this block when generating Sansqrit DSL code.
warn_only
Warn only (no throw)
boolfalseSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

assert energy < 0, "Energy must be negative"

005 / Logging & Debug

Structured Logger

structured_log

Emit structured JSON log with arbitrary key-value fields.

What It Does

Use Structured Logger when you need emit structured JSON log with arbitrary key-value fields.

Canvas color: #EAB308. Category: logging.

How To Use

  1. Drag the block from Logging & Debug into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
level
Level
stringINFOConfiguration value used by this block when generating Sansqrit DSL code.
fields
Fields
json{"step":1,"energy":-1.137}Chooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
msg
Message
stringstep_completeConfiguration value used by this block when generating Sansqrit DSL code.
sink
Log sink
selectconsoleChooses from supported modes for predictable generated code.
Options: console, file, elasticsearch, loki
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

log_json("INFO", "step_complete", {"step":1,"energy":-1.137})

006 / Logging & Debug

Audit Log

audit_log

Immutable audit trail for regulatory compliance.

What It Does

Use Audit Log when you need immutable audit trail for regulatory compliance.

Canvas color: #EAB308. Category: logging.

How To Use

  1. Drag the block from Logging & Debug into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
action
Action
stringparameter_updateConfiguration value used by this block when generating Sansqrit DSL code.
actor_var
Actor
stringuser_idConfiguration value used by this block when generating Sansqrit DSL code.
resource_var
Resource
stringcircuit_123Configuration value used by this block when generating Sansqrit DSL code.
details
Details
json{}Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

audit_log("parameter_update", actor=user_id)

007 / Logging & Debug

Performance Log

performance_log

Log execution time, memory, and CPU for profiling.

What It Does

Use Performance Log when you need log execution time, memory, and CPU for profiling.

Canvas color: #EAB308. Category: logging.

How To Use

  1. Drag the block from Logging & Debug into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
label
Label
stringvqe_stepNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
memory
Log memory
booltrueTurns an optional behavior on or off for this block.
cpu
Log CPU
booltrueTurns an optional behavior on or off for this block.
output_var
Perf data
stringperf_dataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

# perf_log("vqe_step")

008 / Logging & Debug

Alert / Notification

alert_block

Trigger alert when metric crosses threshold.

What It Does

Use Alert / Notification when you need trigger alert when metric crosses threshold.

Canvas color: #EAB308. Category: logging.

How To Use

  1. Drag the block from Logging & Debug into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
metric_var
Metric
stringenergyConfiguration value used by this block when generating Sansqrit DSL code.
condition
Condition
select<Chooses from supported modes for predictable generated code.
Options: <, <=, >, >=, ==, !=
threshold
Threshold
number-1Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: -infinity to infinity
alert_message
Alert message
stringEnergy below threshold!Configuration value used by this block when generating Sansqrit DSL code.
channel
Alert channel
selectconsoleChooses from supported modes for predictable generated code.
Options: slack, email, pagerduty, console
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

if energy < -1:
    alert("Energy below threshold!")
šŸ¤–

ml

Machine Learning

Use this family to build prediction, embedding, agent, model-evaluation, and learning workflows.

27 blocks

001 / Machine Learning

Train Model

train_model

Train classical ML: RF, GBT, SVM, logistic regression, k-NN, XGBoost.

What It Does

Use Train Model when you need train classical ML: RF, GBT, SVM, logistic regression, k-NN, XGBoost.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
X_train
Training features
stringX_trainConfiguration value used by this block when generating Sansqrit DSL code.
y_train
Labels
stringy_trainConfiguration value used by this block when generating Sansqrit DSL code.
model_type
Model type
selectRandomForestChooses the algorithmic behavior or transformation strategy.
Options: RandomForest, GradientBoosting, SVM, LogisticRegression, kNN, XGBoost
hyperparams
Hyperparameters
json{"n_estimators":100}Configuration value used by this block when generating Sansqrit DSL code.
cross_validate
Cross-validate (5-fold)
booltrueTurns an optional behavior on or off for this block.
output_model
Model variable
stringmodelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let model = train(X_train, y_train, model="RandomForest")

002 / Machine Learning

Neural Network

neural_net

Deep learning with configurable layers. PyTorch/JAX backend.

What It Does

Use Neural Network when you need deep learning with configurable layers. PyTorch/JAX backend.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
layers
Layer config
json[{"type":"Linear","in":128,"out":64},{"type":"ReLU"},{"type":"Linear","in":64,"out":1}]Configuration value used by this block when generating Sansqrit DSL code.
loss
Loss
selectCrossEntropyChooses from supported modes for predictable generated code.
Options: MSE, CrossEntropy, BCE, MAE
optimizer
Optimizer
selectAdamChooses from supported modes for predictable generated code.
Options: Adam, SGD, AdamW, RMSprop
epochs
Epochs
number100Numeric configuration used during code generation or execution.
Range: 1 to 10000
lr
Learning rate
number0.001Numeric configuration used during code generation or execution.
Range: 0.000001 to 1
batch_size
Batch size
number32Numeric configuration used during code generation or execution.
Range: 1 to 10000
output_model
Model variable
stringnn_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let nn_model = neural_net(X_train, y_train, epochs=100)

003 / Machine Learning

Predict

predict_block

Apply trained model to new data.

What It Does

Use Predict when you need apply trained model to new data.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model_var
Model variable
stringmodelChooses the algorithmic behavior or transformation strategy.
X_var
Input features
stringX_testConfiguration value used by this block when generating Sansqrit DSL code.
return_proba
Return probabilities
boolfalseSets a numeric boundary, size, count, or top-N selection used to bound work and output.
output_var
Output predictions
stringy_predConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let y_pred = predict(model, X_test)

004 / Machine Learning

Clustering

clustering_block

K-means, DBSCAN, hierarchical, Gaussian mixture models.

What It Does

Use Clustering when you need k-means, DBSCAN, hierarchical, Gaussian mixture models.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
X_var
Data
stringXConfiguration value used by this block when generating Sansqrit DSL code.
method
Algorithm
selectk-meansChooses the algorithmic behavior or transformation strategy.
Options: k-means, DBSCAN, hierarchical, GMM
n_clusters
Clusters
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 2 to 100
output_var
Output labels
stringlabelsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let labels = cluster(X, n=5, method="k-means")

005 / Machine Learning

Dimensionality Reduction

dimensionality_red

PCA, t-SNE, UMAP, autoencoder for visualisation and feature compression.

What It Does

Use Dimensionality Reduction when you need pCA, t-SNE, UMAP, autoencoder for visualisation and feature compression.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
X_var
Input data
stringXConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectUMAPChooses the algorithmic behavior or transformation strategy.
Options: PCA, t-SNE, UMAP, ICA, NMF
n_components
Target dimensions
number2Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 100
output_var
Output embedding
stringX_reducedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let X_reduced = reduce_dim(X, n=2, method="UMAP")

006 / Machine Learning

Feature Engineering

feature_eng

Normalise, one-hot encode, impute missing values, polynomial features.

What It Does

Use Feature Engineering when you need normalise, one-hot encode, impute missing values, polynomial features.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
X_var
Input data
stringXConfiguration value used by this block when generating Sansqrit DSL code.
steps
Pipeline steps
json[{"type":"StandardScaler"},{"type":"OneHotEncoder"}]Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output features
stringX_featConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let X_feat = feature_pipeline(X)

007 / Machine Learning

Model Evaluation

model_eval

Accuracy, precision, recall, F1, ROC-AUC, RMSE, confusion matrix.

What It Does

Use Model Evaluation when you need accuracy, precision, recall, F1, ROC-AUC, RMSE, confusion matrix.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model_var
Model
stringmodelChooses the algorithmic behavior or transformation strategy.
X_test_var
Test features
stringX_testConfiguration value used by this block when generating Sansqrit DSL code.
y_test_var
Test labels
stringy_testConfiguration value used by this block when generating Sansqrit DSL code.
metrics
Metrics
json["accuracy","f1","roc_auc"]Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output metrics
stringeval_metricsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let eval_metrics = evaluate(model, X_test, y_test)

008 / Machine Learning

Transformers (HuggingFace)

transformers_block

Load and run any HuggingFace model: text, vision, audio, multimodal.

What It Does

Use Transformers (HuggingFace) when you need load and run any HuggingFace model: text, vision, audio, multimodal.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model_name
Model name
stringbert-base-uncasedNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
task
Task
selecttext-classificationChooses from supported modes for predictable generated code.
Options: text-classification, token-classification, text-generation, image-classification, question-answering, summarization, translation
input_var
Input
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Output
stringhf_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let hf_result = hf_pipeline("text-classification", "bert-base-uncased", text)

009 / Machine Learning

AutoML

automl_block

Automated ML: Auto-sklearn, TPOT, AutoGluon, H2O AutoML.

What It Does

Use AutoML when you need automated ML: Auto-sklearn, TPOT, AutoGluon, H2O AutoML.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
X_train
Training features
stringX_trainConfiguration value used by this block when generating Sansqrit DSL code.
y_train
Labels
stringy_trainConfiguration value used by this block when generating Sansqrit DSL code.
tool
AutoML tool
selectAutoGluonChooses from supported modes for predictable generated code.
Options: AutoGluon, H2O_AutoML, TPOT, auto-sklearn
time_limit_s
Time limit (s)
number3600Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 60 to 86400
task
Task
selectclassificationChooses from supported modes for predictable generated code.
Options: classification, regression, time_series
output_model
Best model
stringautoml_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let automl_model = automl(X_train, y_train, tool="AutoGluon")

010 / Machine Learning

XGBoost

xgboost_block

Gradient boosted trees: XGBoost, LightGBM, CatBoost.

What It Does

Use XGBoost when you need gradient boosted trees: XGBoost, LightGBM, CatBoost.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
X_train
Features
stringX_trainConfiguration value used by this block when generating Sansqrit DSL code.
y_train
Labels
stringy_trainConfiguration value used by this block when generating Sansqrit DSL code.
library
Library
selectLightGBMChooses from supported modes for predictable generated code.
Options: XGBoost, LightGBM, CatBoost
n_estimators
Estimators
number500Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 100000
max_depth
Max depth
number6Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 50
lr
Learning rate
number0.05Numeric configuration used during code generation or execution.
Range: 0.001 to 1
early_stopping
Early stopping
booltrueSets a numeric boundary, size, count, or top-N selection used to bound work and output.
output_model
Model
stringgbm_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let gbm_model = lightgbm(X_train, y_train)

011 / Machine Learning

Time Series Forecast

time_series_forecast

ARIMA, Prophet, LSTM, N-BEATS, TFT for time series forecasting.

What It Does

Use Time Series Forecast when you need aRIMA, Prophet, LSTM, N-BEATS, TFT for time series forecasting.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
ts_var
Time series data
stringtsConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectProphetChooses the algorithmic behavior or transformation strategy.
Options: Prophet, ARIMA, LSTM, N-BEATS, TFT, NeuralProphet
forecast_horizon
Forecast horizon
number30Numeric configuration used during code generation or execution.
Range: 1 to 3650
lookback
Lookback window
number90Numeric configuration used during code generation or execution.
Range: 1 to 10000
output_var
Forecast
stringforecastConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let forecast = forecast(ts, model="Prophet", horizon=30)

012 / Machine Learning

Anomaly Detection (ML)

anomaly_ml

Unsupervised anomaly detection: Isolation Forest, OCSVM, Autoencoder, LOF.

What It Does

Use Anomaly Detection (ML) when you need unsupervised anomaly detection: Isolation Forest, OCSVM, Autoencoder, LOF.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
X_var
Data
stringXConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectIsolationForestChooses the algorithmic behavior or transformation strategy.
Options: IsolationForest, OCSVM, AutoEncoder, LOF, DeepSVDD
contamination
Contamination fraction
number0.05Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0.001 to 0.5
output_var
Anomaly labels
stringanomaliesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let anomalies = anomaly_detect_ml(X, method="IsolationForest")

013 / Machine Learning

Graph Neural Network

graph_nn

Graph learning: GCN, GAT, GraphSAGE, GIN for molecules, social networks, KGs.

What It Does

Use Graph Neural Network when you need graph learning: GCN, GAT, GraphSAGE, GIN for molecules, social networks, KGs.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
graph_var
Graph data (PyG/DGL)
stringgraphConfiguration value used by this block when generating Sansqrit DSL code.
architecture
Architecture
selectGCNChooses from supported modes for predictable generated code.
Options: GCN, GAT, GraphSAGE, GIN, MPNN
hidden_dim
Hidden dim
number128Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 4 to 4096
n_layers
Layers
number3Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 20
task
Task
selectgraph_classChooses from supported modes for predictable generated code.
Options: node_class, graph_class, link_pred, regression
output_model
Model
stringgnn_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let gnn_model = gnn(graph, arch="GCN")

014 / Machine Learning

Contrastive Learning

contrastive_learn

Self-supervised representation learning: SimCLR, MoCo, BYOL, DINO.

What It Does

Use Contrastive Learning when you need self-supervised representation learning: SimCLR, MoCo, BYOL, DINO.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Unlabelled data
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectSimCLRChooses the algorithmic behavior or transformation strategy.
Options: SimCLR, MoCo, BYOL, DINO, NT-Xent
projection_dim
Projection dim
number128Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 16 to 2048
temperature
Temperature Ļ„
number0.07Numeric configuration used during code generation or execution.
Range: 0.01 to 1
epochs
Epochs
number200Numeric configuration used during code generation or execution.
Range: 10 to 5000
output_model
Encoder
stringssl_encoderChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ssl_encoder = contrastive_train(data, method="SimCLR")

015 / Machine Learning

Meta-Learning

meta_learning

Few-shot learning: MAML, Prototypical Networks, Matching Networks.

What It Does

Use Meta-Learning when you need few-shot learning: MAML, Prototypical Networks, Matching Networks.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
tasks_var
Task distribution
stringtasksConfiguration value used by this block when generating Sansqrit DSL code.
algorithm
Algorithm
selectMAMLChooses the algorithmic behavior or transformation strategy.
Options: MAML, ProtoNet, MatchingNet, Reptile, SNAIL
n_shot
N-shot
number5Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 1 to 50
n_way
N-way
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 2 to 50
output_model
Meta model
stringmeta_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let meta_model = meta_learn(tasks, algo="MAML")

016 / Machine Learning

Knowledge Distillation

knowledge_distill

Compress large teacher model into smaller student model.

What It Does

Use Knowledge Distillation when you need compress large teacher model into smaller student model.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
teacher_var
Teacher model
stringteacher_modelConfiguration value used by this block when generating Sansqrit DSL code.
student_var
Student model
stringstudent_modelConfiguration value used by this block when generating Sansqrit DSL code.
X_train
Training data
stringX_trainConfiguration value used by this block when generating Sansqrit DSL code.
temperature
Temperature
number4Numeric configuration used during code generation or execution.
Range: 1 to 20
alpha
Soft loss weight α
number0.7Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 1
epochs
Epochs
number100Numeric configuration used during code generation or execution.
Range: 1 to 10000
output_model
Distilled model
stringstudent_trainedChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let student_trained = distill(teacher_model, student_model, X_train)

017 / Machine Learning

Federated Learning

federated_learn

Privacy-preserving distributed ML: FedAvg, FedProx, SCAFFOLD.

What It Does

Use Federated Learning when you need privacy-preserving distributed ML: FedAvg, FedProx, SCAFFOLD.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
client_data
Client data list
json["client_0","client_1","client_2"]Configuration value used by this block when generating Sansqrit DSL code.
algorithm
FL algorithm
selectFedAvgChooses the algorithmic behavior or transformation strategy.
Options: FedAvg, FedProx, SCAFFOLD, MOON
rounds
Communication rounds
number100Numeric configuration used during code generation or execution.
Range: 1 to 10000
local_epochs
Local epochs
number5Numeric configuration used during code generation or execution.
Range: 1 to 100
output_model
Global model
stringfl_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let fl_model = federated_train(clients, algo="FedAvg", rounds=100)

018 / Machine Learning

Diffusion Model

diffusion_model

Score-based diffusion model: DDPM, DDIM, score matching for generative modelling.

What It Does

Use Diffusion Model when you need score-based diffusion model: DDPM, DDIM, score matching for generative modelling.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Training data
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
architecture
Architecture
selectDDPMChooses from supported modes for predictable generated code.
Options: DDPM, DDIM, Score_SDE, NCSN
timesteps
Diffusion timesteps
number1000Numeric configuration used during code generation or execution.
Range: 10 to 10000
epochs
Epochs
number500Numeric configuration used during code generation or execution.
Range: 10 to 100000
output_model
Diffusion model
stringdiffusion_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let diffusion_model = diffusion_train(data)

019 / Machine Learning

Causal Inference

causal_inference

Estimate causal effects: DoWhy, propensity score, IV, DID.

What It Does

Use Causal Inference when you need estimate causal effects: DoWhy, propensity score, IV, DID.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Observational data
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
treatment_var
Treatment variable
stringTConfiguration value used by this block when generating Sansqrit DSL code.
outcome_var
Outcome variable
stringYConfiguration value used by this block when generating Sansqrit DSL code.
confounders
Confounders
json["age","sex","income"]Configuration value used by this block when generating Sansqrit DSL code.
method
Method
selectDoWhyChooses the algorithmic behavior or transformation strategy.
Options: DoWhy, PSM, IPW, DID, RDD, IV
output_var
Causal effect
stringcausal_effectConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let causal_effect = causal_effect(data, T="T", Y="Y")

020 / Machine Learning

Survival Analysis

survival_analysis

Time-to-event analysis: Kaplan-Meier, Cox PH, DeepHit.

What It Does

Use Survival Analysis when you need time-to-event analysis: Kaplan-Meier, Cox PH, DeepHit.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Survival data
stringsurvival_dataConfiguration value used by this block when generating Sansqrit DSL code.
time_col
Time column
stringtimeConfiguration value used by this block when generating Sansqrit DSL code.
event_col
Event column
stringeventConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectCox_PHChooses the algorithmic behavior or transformation strategy.
Options: Kaplan-Meier, Cox_PH, Weibull_AFT, DeepHit
output_var
Survival result
stringsurv_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let surv_result = survival_analysis(survival_data, model="Cox_PH")

021 / Machine Learning

SHAP Explainability

shap_explain

Model-agnostic SHAP feature importance: TreeSHAP, KernelSHAP, DeepSHAP.

What It Does

Use SHAP Explainability when you need model-agnostic SHAP feature importance: TreeSHAP, KernelSHAP, DeepSHAP.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model_var
Model
stringmodelChooses the algorithmic behavior or transformation strategy.
X_var
Data to explain
stringXConfiguration value used by this block when generating Sansqrit DSL code.
explainer
Explainer
selectTreeExplainerChooses from supported modes for predictable generated code.
Options: TreeExplainer, KernelExplainer, DeepExplainer, LinearExplainer
max_display
Max features displayed
number20Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000
output_var
SHAP values
stringshap_valuesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let shap_values = shap(model, X)

022 / Machine Learning

Gaussian Process

gp_regression

Non-parametric Bayesian regression with uncertainty quantification.

What It Does

Use Gaussian Process when you need non-parametric Bayesian regression with uncertainty quantification.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
X_train
Training X
stringX_trainConfiguration value used by this block when generating Sansqrit DSL code.
y_train
Training y
stringy_trainConfiguration value used by this block when generating Sansqrit DSL code.
kernel
Kernel
selectRBFChooses from supported modes for predictable generated code.
Options: RBF, Matern, RationalQuadratic, Periodic, DotProduct
noise_level
Noise level σ²
number0.01Numeric configuration used during code generation or execution.
Range: 0.000001 to 100
output_var
GP model
stringgp_modelConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let gp_model = gaussian_process(X_train, y_train, kernel="RBF")

023 / Machine Learning

Transfer Learning

transfer_learn

Fine-tune pretrained model on new task.

What It Does

Use Transfer Learning when you need fine-tune pretrained model on new task.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
pretrained_model
Pretrained model
stringresnet50Chooses the algorithmic behavior or transformation strategy.
X_train
Training data
stringX_trainConfiguration value used by this block when generating Sansqrit DSL code.
y_train
Labels
stringy_trainConfiguration value used by this block when generating Sansqrit DSL code.
strategy
Strategy
selectLoRAChooses the algorithmic behavior or transformation strategy.
Options: full_finetune, head_only, LoRA, adapter
epochs
Epochs
number20Numeric configuration used during code generation or execution.
Range: 1 to 1000
lr
Learning rate
number0.0001Numeric configuration used during code generation or execution.
Range: 1e-7 to 0.1
output_model
Fine-tuned model
stringft_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let ft_model = transfer_learn("resnet50", X_train, strategy="LoRA")

024 / Machine Learning

Physics-Informed NN

pinn_block

Neural network constrained by physical PDEs (PINN).

What It Does

Use Physics-Informed NN when you need neural network constrained by physical PDEs (PINN).

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
pde_code
PDE definition
code# du/dt = D * d²u/dx²Raw code text interpreted by the Sansqrit DSL runtime.
architecture
Architecture
selectMLPChooses from supported modes for predictable generated code.
Options: MLP, ResNet, Fourier_NN
hidden_layers
Hidden layers
number4Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 20
neurons
Neurons per layer
number64Numeric configuration used during code generation or execution.
Range: 4 to 2048
epochs
Epochs
number10000Numeric configuration used during code generation or execution.
Range: 100 to 1000000
output_model
PINN model
stringpinn_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let pinn_model = pinn_train(pde_fn, epochs=10000)

025 / Machine Learning

Normalizing Flow

normalizing_flow

Exact density estimation: RealNVP, Glow, Neural Spline Flow.

What It Does

Use Normalizing Flow when you need exact density estimation: RealNVP, Glow, Neural Spline Flow.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Training data
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
architecture
Architecture
selectRealNVPChooses from supported modes for predictable generated code.
Options: RealNVP, Glow, MAF, Neural_Spline
n_flows
Flow layers
number8Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 50
epochs
Epochs
number200Numeric configuration used during code generation or execution.
Range: 10 to 10000
output_model
Flow model
stringflow_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let flow_model = normalizing_flow(data, arch="RealNVP")

026 / Machine Learning

Active Learning

active_learning_block

Iterative labelling with uncertainty sampling, query-by-committee, or BADGE.

What It Does

Use Active Learning when you need iterative labelling with uncertainty sampling, query-by-committee, or BADGE.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
unlabelled_var
Unlabelled pool
stringX_poolNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
model_var
Initial model
stringmodelChooses the algorithmic behavior or transformation strategy.
strategy
Query strategy
selectuncertaintyChooses the algorithmic behavior or transformation strategy.
Options: uncertainty, margin, entropy, BADGE, CoreSet
n_query
Queries per round
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000
output_var
Labelled subset
stringqueried_XConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let queried_X = active_learn(X_pool, model, strategy="uncertainty")

027 / Machine Learning

Model Compression

model_compression

Pruning, quantisation, and mixed-precision for efficient deployment.

What It Does

Use Model Compression when you need pruning, quantisation, and mixed-precision for efficient deployment.

Canvas color: #65A30D. Category: ml.

How To Use

  1. Drag the block from Machine Learning into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model_var
Model to compress
stringmodelChooses the algorithmic behavior or transformation strategy.
method
Method
selectINT8_quantChooses the algorithmic behavior or transformation strategy.
Options: magnitude_pruning, structured_pruning, INT8_quant, INT4_quant, mixed_precision
target_sparsity
Target sparsity
number0.5Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 0.99
output_model
Compressed model
stringcompressed_modelChooses the algorithmic behavior or transformation strategy.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let compressed_model = compress(model, method="INT8_quant")
⟔

materials

Materials Science

Use this family when the workflow needs this block group as part of a larger visual program.

5 blocks

001 / Materials Science

Crystal Structure

crystal_structure

Load or create crystalline structures from CIF files or space group + Wyckoff positions.

What It Does

Use Crystal Structure when you need load or create crystalline structures from CIF files or space group + Wyckoff positions.

Canvas color: #78716C. Category: materials.

How To Use

  1. Drag the block from Materials Science into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
cif_file
CIF file path
stringstructure.cifPoints to local or uploaded data. Use the upload/data controls when working with local files.
formula
Chemical formula
stringFe2O3Configuration value used by this block when generating Sansqrit DSL code.
a_angstrom
a (ƅ)
number5Numeric configuration used during code generation or execution.
Range: 0.1 to 100
b_angstrom
b (ƅ)
number5Numeric configuration used during code generation or execution.
Range: 0.1 to 100
c_angstrom
c (ƅ)
number5Numeric configuration used during code generation or execution.
Range: 0.1 to 100
output_var
Output crystal
stringcrystalConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let crystal = crystal("Fe2O3", cif="structure.cif")

002 / Materials Science

Band Structure

band_structure

Electronic band structure from DFT. Identify direct/indirect gap, effective masses.

What It Does

Use Band Structure when you need electronic band structure from DFT. Identify direct/indirect gap, effective masses.

Canvas color: #78716C. Category: materials.

How To Use

  1. Drag the block from Materials Science into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
crystal_var
Crystal variable
stringcrystalConfiguration value used by this block when generating Sansqrit DSL code.
dft_code
DFT code
selectQuantumESPRESSOChooses from supported modes for predictable generated code.
Options: VASP, QuantumESPRESSO, FHI-aims, GPAW
k_path
k-path
json["Ī“","X","M","Ī“"]Points to local or uploaded data. Use the upload/data controls when working with local files.
output_var
Output
stringbandsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let bands = band_structure(crystal)

003 / Materials Science

Phonon Calculation

phonon_block

Phonon dispersion and density of states from finite difference or DFPT.

What It Does

Use Phonon Calculation when you need phonon dispersion and density of states from finite difference or DFPT.

Canvas color: #78716C. Category: materials.

How To Use

  1. Drag the block from Materials Science into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
crystal_var
Crystal
stringcrystalConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectfinite_diffChooses the algorithmic behavior or transformation strategy.
Options: finite_diff, DFPT
output_var
Output
stringphononsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let phonons = phonon(crystal)

004 / Materials Science

Battery Material Sim

battery_sim

Li-ion insertion voltage profile, migration barriers, capacity.

What It Does

Use Battery Material Sim when you need li-ion insertion voltage profile, migration barriers, capacity.

Canvas color: #78716C. Category: materials.

How To Use

  1. Drag the block from Materials Science into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
cathode_material
Cathode
stringLiFePO4Configuration value used by this block when generating Sansqrit DSL code.
anode_material
Anode
stringgraphiteConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectNEBChooses the algorithmic behavior or transformation strategy.
Options: NEB, MD, AIMD
output_var
Output
stringbattery_propsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let battery_props = battery_sim("LiFePO4")

005 / Materials Science

Superconductor

superconductor_block

BCS gap equation, Tc estimation, pair correlation from DFT+phonon coupling.

What It Does

Use Superconductor when you need bCS gap equation, Tc estimation, pair correlation from DFT+phonon coupling.

Canvas color: #78716C. Category: materials.

How To Use

  1. Drag the block from Materials Science into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
material_var
Material
stringcrystalConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectMcMillanChooses the algorithmic behavior or transformation strategy.
Options: BCS, McMillan, EPW
output_var
Output
stringsc_propsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sc_props = superconductor(crystal)
āˆ‘

math

Math & Numerics

Use this family when the workflow needs this block group as part of a larger visual program.

17 blocks

001 / Math & Numerics

Math Operations

math_ops

Full math.h: trig, log, power, rounding, min/max, clamp.

What It Does

Use Math Operations when you need full math.h: trig, log, power, rounding, min/max, clamp.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
lhs
Left operand
stringaConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectaddChooses from supported modes for predictable generated code.
Options: add, sub, mul, div, mod, pow, sqrt, abs, floor, ceil, round, log, ln, log2, exp, sin, cos, tan, asin, acos, atan, atan2, min, max, hypot, sign, clamp
rhs
Right operand
stringbConfiguration value used by this block when generating Sansqrit DSL code.
assign_to
Result variable
stringresultSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result = add(a, b)

002 / Math & Numerics

Matrix Operations

matrix_ops

Multiply, inverse, transpose, eigenvalues, SVD, QR, LU, trace, norm.

What It Does

Use Matrix Operations when you need multiply, inverse, transpose, eigenvalues, SVD, QR, LU, trace, norm.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
matrix_a
Matrix A
stringAConfiguration value used by this block when generating Sansqrit DSL code.
matrix_b
Matrix B
stringBConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectmultiplyChooses from supported modes for predictable generated code.
Options: multiply, add, subtract, transpose, inverse, determinant, eigenvalues, svd, qr, lu, trace, norm
assign_to
Assign to
stringresultSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result = matrix_multiply(A, B)

003 / Math & Numerics

FFT / IFFT

fft_block

Classical Fast Fourier Transform. For quantum FT use the QFT algorithm block.

What It Does

Use FFT / IFFT when you need classical Fast Fourier Transform. For quantum FT use the QFT algorithm block.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
input_var
Input signal
stringsignalConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectfftChooses from supported modes for predictable generated code.
Options: fft, ifft, fft2d, rfft
fft_shift
FFT shift (centre freq)
boolfalseTurns an optional behavior on or off for this block.
assign_to
Assign to
stringspectrumSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let spectrum = fft(signal)

004 / Math & Numerics

Statistics

stats_block

Mean, median, std, t-test, chi-square, ANOVA, percentile, correlation, normalise.

What It Does

Use Statistics when you need mean, median, std, t-test, chi-square, ANOVA, percentile, correlation, normalise.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
input_var
Input data
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectmeanChooses from supported modes for predictable generated code.
Options: mean, median, std, var, min, max, sum, count, percentile, correlation, covariance, t_test, zscore, normalize
assign_to
Assign to
stringstat_resultSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let stat_result = stats_mean(data)

005 / Math & Numerics

Complex Ops

complex_ops

Complex arithmetic: add, mul, conjugate, magnitude, phase, polar↔rect.

What It Does

Use Complex Ops when you need complex arithmetic: add, mul, conjugate, magnitude, phase, polar↔rect.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
a_var
Complex A
stringaConfiguration value used by this block when generating Sansqrit DSL code.
b_var
Complex B
stringbConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectmulChooses from supported modes for predictable generated code.
Options: add, mul, sub, div, conjugate, magnitude, phase, polar_to_rect
assign_to
Assign to
stringresultSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result = complex_mul(a, b)

006 / Math & Numerics

Bitwise Operations

bit_ops

AND, OR, XOR, NOT, shifts. Used in Grover oracle construction.

What It Does

Use Bitwise Operations when you need aND, OR, XOR, NOT, shifts. Used in Grover oracle construction.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
a_var
Operand A
stringaConfiguration value used by this block when generating Sansqrit DSL code.
b_var
Operand B
stringbConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectxorChooses from supported modes for predictable generated code.
Options: and, or, xor, not, shift_left, shift_right, rotate_left
assign_to
Assign to
stringresultSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result = a ^ b

007 / Math & Numerics

Linspace

linspace_block

N evenly spaced values between a and b (like numpy.linspace).

What It Does

Use Linspace when you need n evenly spaced values between a and b (like numpy.linspace).

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
start
Start
string0Configuration value used by this block when generating Sansqrit DSL code.
end
End
string1Configuration value used by this block when generating Sansqrit DSL code.
n_points
Points
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 2 to 100000
assign_to
Assign to
stringxSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let x = linspace(0, 1, 100)

008 / Math & Numerics

Symbolic Math (SymPy)

symbolic_math

Computer algebra: simplify, differentiate, integrate, solve, series expand.

What It Does

Use Symbolic Math (SymPy) when you need computer algebra: simplify, differentiate, integrate, solve, series expand.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
expression
Expression
codex**2 + 2*x + 1Raw code text interpreted by the Sansqrit DSL runtime.
operation
Operation
selectsimplifyChooses from supported modes for predictable generated code.
Options: simplify, diff, integrate, solve, series, factor, expand, laplace
variable
Variable
stringxConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Result
stringsym_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sym_result = sympy_simplify("x**2 + 2*x + 1", var="x")

009 / Math & Numerics

ODE Solver

ode_solver

Solve ODEs: scipy solve_ivp — RK45, DOP853, LSODA, Radau.

What It Does

Use ODE Solver when you need solve ODEs: scipy solve_ivp — RK45, DOP853, LSODA, Radau.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
rhs_code
RHS function dy/dt = f(t,y)
codelambda t,y: [-y[0]]Raw code text interpreted by the Sansqrit DSL runtime.
y0
Initial conditions
json[1.0]Configuration value used by this block when generating Sansqrit DSL code.
t_start
t start
number0Numeric configuration used during code generation or execution.
Range: -infinity to infinity
t_end
t end
number10Numeric configuration used during code generation or execution.
Range: -infinity to infinity
method
Method
selectRK45Chooses the algorithmic behavior or transformation strategy.
Options: RK45, DOP853, LSODA, Radau, BDF
output_var
Solution
stringode_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ode_result = ode_solve(rhs, y0=[1.0], t=[0,10])

010 / Math & Numerics

PDE Solver

pde_solver

Finite difference/element PDE solver: heat, wave, Schrƶdinger, Burgers.

What It Does

Use PDE Solver when you need finite difference/element PDE solver: heat, wave, Schrƶdinger, Burgers.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
equation
PDE
selectheatChooses from supported modes for predictable generated code.
Options: heat, wave, schrodinger, burgers, poisson
nx
Grid x
number100Numeric configuration used during code generation or execution.
Range: 10 to 10000
ny
Grid y
number100Numeric configuration used during code generation or execution.
Range: 10 to 10000
dt
dt
number0.001Numeric configuration used during code generation or execution.
Range: 1e-10 to 1
n_steps
Steps
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 10000000
output_var
Solution
stringpde_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let pde_result = pde_solve("heat", nx=100)

011 / Math & Numerics

Root Finding

root_finding

Bisection, Newton-Raphson, Brent, secant method for f(x)=0.

What It Does

Use Root Finding when you need bisection, Newton-Raphson, Brent, secant method for f(x)=0.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
fn_code
Function f(x)
codelambda x: x**3 - x - 2Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
x0
Initial guess
number1Numeric configuration used during code generation or execution.
Range: -infinity to infinity
method
Method
selectbrentqChooses the algorithmic behavior or transformation strategy.
Options: brentq, newton, bisect, secant
tol
Tolerance
number1e-10Numeric configuration used during code generation or execution.
Range: 1e-15 to 0.01
output_var
Root
stringrootConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let root = root_find(f, x0=1, method="brentq")

012 / Math & Numerics

Interpolation

interpolation_block

1D/2D interpolation: linear, cubic spline, RBF, kriging.

What It Does

Use Interpolation when you need 1D/2D interpolation: linear, cubic spline, RBF, kriging.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
x_var
X data
stringxConfiguration value used by this block when generating Sansqrit DSL code.
y_var
Y data
stringyConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectcubic_splineChooses the algorithmic behavior or transformation strategy.
Options: linear, cubic_spline, akima, PCHIP, RBF, kriging
x_new_var
New X points
stringx_newConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Interpolated values
stringy_interpConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let y_interp = interpolate(x, y, x_new)

013 / Math & Numerics

Numerical Integration

numerical_integration

Quadrature: Gaussian, Simpson, adaptive, Monte Carlo integration.

What It Does

Use Numerical Integration when you need quadrature: Gaussian, Simpson, adaptive, Monte Carlo integration.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
fn_code
Integrand f(x)
codelambda x: np.sin(x)**2Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
a
Lower bound
number0Numeric configuration used during code generation or execution.
Range: -infinity to infinity
b
Upper bound
number3.141592653589793Numeric configuration used during code generation or execution.
Range: -infinity to infinity
method
Method
selectquadChooses the algorithmic behavior or transformation strategy.
Options: quad, dblquad, Gaussian, Monte_Carlo, Simpson
n_points
Points (MC)
number10000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 100 to 1000000000
output_var
Integral
stringintegralConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let integral = integrate(f, 0, 3.141592653589793)

014 / Math & Numerics

Eigenvalue Solver

eigenvalue_block

Dense or sparse eigenvalue/eigenvector decomposition.

What It Does

Use Eigenvalue Solver when you need dense or sparse eigenvalue/eigenvector decomposition.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
matrix_var
Matrix
stringAConfiguration value used by this block when generating Sansqrit DSL code.
solver
Solver
selectnumpy_eigChooses from supported modes for predictable generated code.
Options: numpy_eig, scipy_eigh, ARPACK_sparse, LAPACK
k_evals
k eigenvalues (sparse)
number6Numeric configuration used during code generation or execution.
Range: 1 to 1000
hermitian
Hermitian/symmetric
booltrueTurns an optional behavior on or off for this block.
output_var
Eigenvalues
stringeigenvaluesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let eigenvalues = eig(A)

015 / Math & Numerics

Random Number Generator

random_numbers

Pseudo-random and quasi-random sequences: uniform, normal, Sobol, Halton.

What It Does

Use Random Number Generator when you need pseudo-random and quasi-random sequences: uniform, normal, Sobol, Halton.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
distribution
Distribution
selectnormalChooses from supported modes for predictable generated code.
Options: uniform, normal, exponential, poisson, beta, gamma, Sobol, Halton
n_samples
Samples
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000000000
params
Distribution params
json{"loc":0,"scale":1}Configuration value used by this block when generating Sansqrit DSL code.
seed
Random seed
number42Controls reproducibility for stochastic sampling, model training, or randomized search.
Range: 0 to 4294967296
output_var
Samples
stringrandom_samplesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let random_samples = random("normal", n=1000, seed=42)

016 / Math & Numerics

Graph Theory

graph_theory

NetworkX graph algorithms: shortest path, MST, centrality, flow, colouring.

What It Does

Use Graph Theory when you need networkX graph algorithms: shortest path, MST, centrality, flow, colouring.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
graph_var
Graph variable
stringGConfiguration value used by this block when generating Sansqrit DSL code.
algorithm
Algorithm
selectshortest_pathChooses the algorithmic behavior or transformation strategy.
Options: shortest_path, MST, max_flow, min_cut, pagerank, betweenness_centrality, coloring, matching
source_var
Source node
stringsConfiguration value used by this block when generating Sansqrit DSL code.
target_var
Target node
stringtSelects the qubit, bit, control, target, or helper register position used by the block.
output_var
Result
stringgraph_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let graph_result = graph_shortest_path(G)

017 / Math & Numerics

Information Theory

information_theory

Shannon entropy, mutual information, KL divergence, Fisher information.

What It Does

Use Information Theory when you need shannon entropy, mutual information, KL divergence, Fisher information.

Canvas color: #6366F1. Category: math.

How To Use

  1. Drag the block from Math & Numerics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
p_var
Distribution p
stringpConfiguration value used by this block when generating Sansqrit DSL code.
q_var
Distribution q (optional)
stringqConfiguration value used by this block when generating Sansqrit DSL code.
metric
Metric
selectentropyChooses from supported modes for predictable generated code.
Options: entropy, mutual_info, kl_divergence, js_divergence, fisher_info, channel_capacity
output_var
Result
stringinfo_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let info_result = entropy(p)
M

quantum_meas

Measurement

Use this family to construct, transform, measure, simulate, export, or analyze quantum circuits and sharded registers.

13 blocks

001 / Measurement

Measure (single)

measure_single

Collapse single qubit to 0 or 1. P(0)=|α|², P(1)=|β|². State collapses — remaining amplitudes renormalised.

What It Does

Use Measure (single) when you need collapse single qubit to 0 or 1. P(0)=|α|², P(1)=|β|². State collapses — remaining amplitudes renormalised.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
basis
Basis
selectZChooses from supported modes for predictable generated code.
Options: Z, X, Y
reset_after
Reset after
boolfalseTurns an optional behavior on or off for this block.
output_var
Output variable
stringbit0Configuration value used by this block when generating Sansqrit DSL code.
log_result
Log result
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Post-collapsequbitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Classical bitclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let bit0 = measure(q[0])

002 / Measurement

Measure All

measure_all

shots=1: collapses state. shots>1: samples from probability distribution (non-destructive). Returns {histogram:{bitstring:count}}.

What It Does

Use Measure All when you need shots=1: collapses state. shots>1: samples from probability distribution (non-destructive). Returns {histogram:{bitstring:count}}.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register name
stringqConfiguration value used by this block when generating Sansqrit DSL code.
shots
Shots
number1000Controls statistical sampling. More shots reduce measurement noise but increase runtime.
Range: 1 to 1000000
format
Format
selectcountsChooses from supported modes for predictable generated code.
Options: counts, probabilities, both
plot_histogram
Plot histogram
booltrueTurns an optional behavior on or off for this block.
output_var
Output variable
stringresultConfiguration value used by this block when generating Sansqrit DSL code.
log_result
Log result
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • HistogramclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result = measure_all(q, shots=1000)

003 / Measurement

Expectation Value

expectation_val

⟨ψ|O|ψ⟩ without collapsing state. Z, X, Y, ZZ, custom Pauli string. Essential for VQE.

What It Does

Use Expectation Value when you need ⟨ψ|O|ψ⟩ without collapsing state. Z, X, Y, ZZ, custom Pauli string. Essential for VQE.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
observable
Observable
selectZChooses from supported modes for predictable generated code.
Options: Z, X, Y, ZZ, XX, YY, custom
custom_obs
Custom Pauli
stringZZIConfiguration value used by this block when generating Sansqrit DSL code.
qubit_a
Qubit A
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
qubit_b
Qubit B
qubit1Selects the qubit, bit, control, target, or helper register position used by the block.
output_var
Output
stringexpvalConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • Expectation valueclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let expval = expectation_z(q[0])

004 / Measurement

State Vector

statevector_block

Returns [{state,re,im,prob}] sorted by probability. NON-DESTRUCTIVE — does not collapse.

What It Does

Use State Vector when you need returns [{state,re,im,prob}] sorted by probability. NON-DESTRUCTIVE — does not collapse.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
top_n
Top N states
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000
output_var
Output
stringsvConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • State vectorclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sv = statevector(q, top_n=10)

005 / Measurement

Probabilities

probabilities_block

P(|x⟩)=|⟨x|ψ⟩|² for all basis states. Non-destructive. Returns {bitstring: probability}.

What It Does

Use Probabilities when you need p(|x⟩)=|⟨x|ψ⟩|² for all basis states. Non-destructive. Returns {bitstring: probability}.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Output
stringprobsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • ProbabilitiesclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let probs = probabilities(q)

006 / Measurement

Weak Measurement

weak_measure

Partial collapse measurement: extracts partial information without full collapse.

What It Does

Use Weak Measurement when you need partial collapse measurement: extracts partial information without full collapse.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
strength
Measurement strength g
number0.1Numeric configuration used during code generation or execution.
Range: 0 to 1
output_var
Weak value
stringweak_valConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let weak_val = weak_measure(q[0], g=0.1)

007 / Measurement

POVM

povm_block

Positive Operator-Valued Measure: generalised quantum measurement.

What It Does

Use POVM when you need positive Operator-Valued Measure: generalised quantum measurement.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
povm_elements
POVM elements
json[]Configuration value used by this block when generating Sansqrit DSL code.
output_var
Outcome
stringpovm_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let povm_result = povm(q)

008 / Measurement

Mid-Circuit Measure

mid_circuit_measure

Measure qubit mid-circuit and continue computation (dynamic circuits).

What It Does

Use Mid-Circuit Measure when you need measure qubit mid-circuit and continue computation (dynamic circuits).

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
reset_after
Reset after measure
boolfalseTurns an optional behavior on or off for this block.
bit_var
Classical bit var
stringbit0Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let bit0 = measure(q[0])

009 / Measurement

Deferred Measurement

deferred_measure

Apply measurement deferral principle: move measurements to end of circuit.

What It Does

Use Deferred Measurement when you need apply measurement deferral principle: move measurements to end of circuit.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
apply_principle
Apply principle
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

# deferred_measurement(q)

010 / Measurement

Parity Check

parity_check

Measure multi-qubit parity P = ZāŠ—ZāŠ—...āŠ—Z without collapsing individual qubits.

What It Does

Use Parity Check when you need measure multi-qubit parity P = ZāŠ—ZāŠ—...āŠ—Z without collapsing individual qubits.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
qubits
Qubits to measure
json[0,1,2]Selects the qubit, bit, control, target, or helper register position used by the block.
observable
Parity operator
selectZZZChooses from supported modes for predictable generated code.
Options: ZZZ, XXX, YYY, ZZI
output_var
Parity bit
stringparityConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let parity = parity_check(q, qubits=[0,1,2])

011 / Measurement

Bell Measurement

bell_measure

Project two qubits onto Bell basis. Used in teleportation and MBQC.

What It Does

Use Bell Measurement when you need project two qubits onto Bell basis. Used in teleportation and MBQC.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
output_var
Bell outcome
stringbell_outConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let bell_out = bell_measure(q[0], q[1])

012 / Measurement

Density Matrix

density_matrix

Compute full density matrix ρ = |ψ⟩⟨ψ|. Exponential cost — only feasible for ≤12 qubits.

What It Does

Use Density Matrix when you need compute full density matrix ρ = |ψ⟩⟨ψ|. Exponential cost — only feasible for ≤12 qubits.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
max_qubits
Max qubits (safety)
number10Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 16
output_var
Density matrix
stringrhoConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let rho = density_matrix(q)

013 / Measurement

Fidelity

fidelity_block

Compute state fidelity F = |āŸØĻˆā‚|Ļˆā‚‚āŸ©|². Measures overlap between two quantum states.

What It Does

Use Fidelity when you need compute state fidelity F = |āŸØĻˆā‚|Ļˆā‚‚āŸ©|². Measures overlap between two quantum states.

Canvas color: #4338CA. Category: quantum_meas.

How To Use

  1. Drag the block from Measurement into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
reg_a
Register A
stringq1Configuration value used by this block when generating Sansqrit DSL code.
reg_b
Register B
stringq2Configuration value used by this block when generating Sansqrit DSL code.
output_var
Fidelity
stringfidelityConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • State AregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • State BregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let fidelity = fidelity(q1, q2)
šŸ„

medical

Medical Imaging

Use this family when the workflow needs this block group as part of a larger visual program.

4 blocks

001 / Medical Imaging

DICOM Loader

dicom_load

Load DICOM medical images (CT, MRI, PET, X-ray).

What It Does

Use DICOM Loader when you need load DICOM medical images (CT, MRI, PET, X-ray).

Canvas color: #0891B2. Category: medical.

How To Use

  1. Drag the block from Medical Imaging into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
file_path
DICOM path
stringscan.dcmPoints to local or uploaded data. Use the upload/data controls when working with local files.
modality
Modality
selectCTChooses from supported modes for predictable generated code.
Options: CT, MRI, PET, X-ray, Ultrasound
anonymize
Anonymize on load
booltrueTurns an optional behavior on or off for this block.
output_var
Output
stringscanConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let scan = dicom_load("scan.dcm")

002 / Medical Imaging

Image Segmentation

img_segment

Organ and lesion segmentation. TotalSegmentator, nnU-Net, or SAM.

What It Does

Use Image Segmentation when you need organ and lesion segmentation. TotalSegmentator, nnU-Net, or SAM.

Canvas color: #0891B2. Category: medical.

How To Use

  1. Drag the block from Medical Imaging into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
scan_var
Scan variable
stringscanSets a numeric boundary, size, count, or top-N selection used to bound work and output.
method
Method
selectTotalSegmentatorChooses the algorithmic behavior or transformation strategy.
Options: TotalSegmentator, nnU-Net, SAM, threshold
targets
Targets
json["liver","lung","kidney"]Selects the qubit, bit, control, target, or helper register position used by the block.
output_var
Output masks
stringmasksConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let masks = segment(scan)

003 / Medical Imaging

Radiology AI

radio_classify

Classify pathologies: pneumonia, nodules, fractures, tumours.

What It Does

Use Radiology AI when you need classify pathologies: pneumonia, nodules, fractures, tumours.

Canvas color: #0891B2. Category: medical.

How To Use

  1. Drag the block from Medical Imaging into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
scan_var
Scan variable
stringscanSets a numeric boundary, size, count, or top-N selection used to bound work and output.
model
Model
selectCheXNetChooses the algorithmic behavior or transformation strategy.
Options: CheXNet, MAIDA, custom
output_var
Output diagnosis
stringdiagnosisConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let diagnosis = radiology_classify(scan)

004 / Medical Imaging

EHR Loader

ehr_load

Load Electronic Health Records (FHIR, HL7, CSV, OMOP).

What It Does

Use EHR Loader when you need load Electronic Health Records (FHIR, HL7, CSV, OMOP).

Canvas color: #0891B2. Category: medical.

How To Use

  1. Drag the block from Medical Imaging into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
file_path
EHR file path
stringpatient.fhir.jsonPoints to local or uploaded data. Use the upload/data controls when working with local files.
format
Format
selectFHIRChooses from supported modes for predictable generated code.
Options: FHIR, HL7, CSV, OMOP
anonymize
Anonymize
booltrueTurns an optional behavior on or off for this block.
output_var
Output
stringpatient_dataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let patient_data = ehr_load("patient.fhir.json")
šŸ“

nlp

NLP & Text AI

Use this family to build prediction, embedding, agent, model-evaluation, and learning workflows.

16 blocks

001 / NLP & Text AI

Tokenizer

tokenizer_block

Split text into tokens: BPE, WordPiece, SentencePiece, or whitespace.

What It Does

Use Tokenizer when you need split text into tokens: BPE, WordPiece, SentencePiece, or whitespace.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text variable
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
tokenizer
Tokenizer
selectWordPieceChooses from supported modes for predictable generated code.
Options: BPE, WordPiece, SentencePiece, whitespace, char
model_name
Model/vocab
stringbert-base-uncasedNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
max_length
Max length
number512Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 8192
padding
Pad to max_length
boolfalseTurns an optional behavior on or off for this block.
output_var
Output tokens
stringtokensConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let tokens = tokenize(text, model="bert-base-uncased")

002 / NLP & Text AI

Sentiment Analysis

sentiment_block

Classify text sentiment: positive/negative/neutral with confidence score.

What It Does

Use Sentiment Analysis when you need classify text sentiment: positive/negative/neutral with confidence score.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectDistilBERTChooses the algorithmic behavior or transformation strategy.
Options: DistilBERT, BERT, RoBERTa, VADER, TextBlob
granularity
Granularity
select3-classChooses from supported modes for predictable generated code.
Options: binary, 3-class, 5-class
output_var
Output sentiment
stringsentimentConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sentiment = sentiment(text, model="DistilBERT")

003 / NLP & Text AI

Named Entity Recognition

ner_block

Extract entities: PERSON, ORG, GPE, DATE, MONEY, GENE, DRUG etc.

What It Does

Use Named Entity Recognition when you need extract entities: PERSON, ORG, GPE, DATE, MONEY, GENE, DRUG etc.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectspaCy-enChooses the algorithmic behavior or transformation strategy.
Options: spaCy-en, BERT-NER, bioNER, sci-spaCy
entity_types
Entity types
json["PERSON","ORG","GPE","DATE"]Chooses the algorithmic behavior or transformation strategy.
output_var
Output entities
stringentitiesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let entities = ner(text, model="spaCy-en")

004 / NLP & Text AI

Summarization

summarize_block

Abstractive or extractive text summarisation.

What It Does

Use Summarization when you need abstractive or extractive text summarisation.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectabstractiveChooses the algorithmic behavior or transformation strategy.
Options: abstractive, extractive, hybrid
model
Model
selectBARTChooses the algorithmic behavior or transformation strategy.
Options: BART, T5, Pegasus, LED, LexRank
max_length
Max summary tokens
number150Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 2048
output_var
Output summary
stringsummaryConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let summary = summarize(text, max_length=150)

005 / NLP & Text AI

Translation

translation_block

Neural machine translation: 200 language pairs via NLLB-200.

What It Does

Use Translation when you need neural machine translation: 200 language pairs via NLLB-200.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
src_lang
Source language
stringenConfiguration value used by this block when generating Sansqrit DSL code.
tgt_lang
Target language
stringfrConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectNLLB-200Chooses the algorithmic behavior or transformation strategy.
Options: NLLB-200, mBART, Helsinki-NLP, DeepL-API
output_var
Translation
stringtranslated_textConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let translated_text = translate(text, src="en", tgt="fr")

006 / NLP & Text AI

Question Answering

qa_block

Extractive QA from context document or open-domain retrieval.

What It Does

Use Question Answering when you need extractive QA from context document or open-domain retrieval.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
question_var
Question
stringquestionSets a numeric boundary, size, count, or top-N selection used to bound work and output.
context_var
Context document
stringcontextConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectRoBERTa-SQuADChooses the algorithmic behavior or transformation strategy.
Options: BERT-SQuAD, RoBERTa-SQuAD, DPR+FiD, GPT-4
output_var
Answer
stringanswerConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let answer = qa(question, context)

007 / NLP & Text AI

Text Classification

text_classify

Multi-class text classification: zero-shot or fine-tuned.

What It Does

Use Text Classification when you need multi-class text classification: zero-shot or fine-tuned.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
labels
Class labels
json["science","sports","politics"]Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
model
Model
selectzero-shot-BARTChooses the algorithmic behavior or transformation strategy.
Options: zero-shot-BART, DistilBERT, SetFit, FastText
output_var
Output label
stringlabelConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let label = text_classify(text, labels=["science","sports","politics"])

008 / NLP & Text AI

Topic Modelling

topic_model

Discover latent topics: LDA, NMF, BERTopic.

What It Does

Use Topic Modelling when you need discover latent topics: LDA, NMF, BERTopic.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
corpus_var
Document corpus
stringdocsConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectBERTopicChooses the algorithmic behavior or transformation strategy.
Options: LDA, NMF, BERTopic, CTM
n_topics
Topics
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 2 to 500
output_var
Topics
stringtopicsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let topics = topic_model(docs, n=10)

009 / NLP & Text AI

Keyword Extraction

keyword_extract

Extract key phrases using RAKE, YAKE, KeyBERT, or TF-IDF.

What It Does

Use Keyword Extraction when you need extract key phrases using RAKE, YAKE, KeyBERT, or TF-IDF.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectKeyBERTChooses the algorithmic behavior or transformation strategy.
Options: KeyBERT, YAKE, RAKE, TF-IDF
top_k
Top-K keywords
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 100
output_var
Keywords
stringkeywordsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let keywords = keywords(text, k=10)

010 / NLP & Text AI

Coreference Resolution

coreference_block

Resolve pronoun and noun phrase coreferences in text.

What It Does

Use Coreference Resolution when you need resolve pronoun and noun phrase coreferences in text.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectfastcorefChooses the algorithmic behavior or transformation strategy.
Options: neuralcoref, allennlp, fastcoref
output_var
Resolved text
stringcoref_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let coref_result = coreference(text)

011 / NLP & Text AI

Dependency Parsing

dep_parse

Parse syntactic dependencies: subject, object, modifier relationships.

What It Does

Use Dependency Parsing when you need parse syntactic dependencies: subject, object, modifier relationships.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectspaCyChooses the algorithmic behavior or transformation strategy.
Options: spaCy, stanza, CoreNLP
output_var
Dependency tree
stringdep_treeConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let dep_tree = dep_parse(text)

012 / NLP & Text AI

Text Similarity

text_similarity

Semantic text similarity using sentence embeddings or BM25.

What It Does

Use Text Similarity when you need semantic text similarity using sentence embeddings or BM25.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_a_var
Text A
stringtext_aConfiguration value used by this block when generating Sansqrit DSL code.
text_b_var
Text B
stringtext_bConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectcosine_sentence_embedChooses the algorithmic behavior or transformation strategy.
Options: cosine_sentence_embed, BM25, edit_distance, BLEU
output_var
Similarity score
stringsim_scoreConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sim_score = text_similarity(text_a, text_b)

013 / NLP & Text AI

OCR

ocr_block

Optical Character Recognition: Tesseract, EasyOCR, PaddleOCR.

What It Does

Use OCR when you need optical Character Recognition: Tesseract, EasyOCR, PaddleOCR.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
image_var
Image variable
stringimgConfiguration value used by this block when generating Sansqrit DSL code.
engine
Engine
selectEasyOCRChooses from supported modes for predictable generated code.
Options: Tesseract, EasyOCR, PaddleOCR, TrOCR
language
Language
stringenConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Extracted text
stringocr_textConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ocr_text = ocr(img, engine="EasyOCR")

014 / NLP & Text AI

Speech Transcription

speech_transcribe

ASR: Whisper large-v3, Wav2Vec2, or cloud APIs.

What It Does

Use Speech Transcription when you need aSR: Whisper large-v3, Wav2Vec2, or cloud APIs.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
audio_var
Audio file/variable
stringaudioConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectwhisper-large-v3Chooses the algorithmic behavior or transformation strategy.
Options: whisper-large-v3, whisper-base, wav2vec2, deepgram
language
Language (blank=auto)
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
word_timestamps
Word timestamps
boolfalseTurns an optional behavior on or off for this block.
output_var
Transcript
stringtranscriptConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let transcript = transcribe(audio, model="whisper-large-v3")

015 / NLP & Text AI

Text-to-Speech

tts_block

Neural TTS: ElevenLabs, OpenAI TTS, Coqui, or edge-tts.

What It Does

Use Text-to-Speech when you need neural TTS: ElevenLabs, OpenAI TTS, Coqui, or edge-tts.

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
engine
Engine
selectedge-ttsChooses from supported modes for predictable generated code.
Options: elevenlabs, openai-tts, coqui, edge-tts, pyttsx3
voice
Voice/speaker ID
stringen-US-AriaNeuralConfiguration value used by this block when generating Sansqrit DSL code.
speed
Speed
number1Numeric configuration used during code generation or execution.
Range: 0.5 to 2
output_file
Output audio file
stringspeech.mp3Points to local or uploaded data. Use the upload/data controls when working with local files.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let speech.mp3 = tts(text, voice="en-US-AriaNeural")

016 / NLP & Text AI

Regex NER

regex_ner

Rule-based entity extraction using regex patterns for structured data (dates, phone numbers, emails, IDs).

What It Does

Use Regex NER when you need rule-based entity extraction using regex patterns for structured data (dates, phone numbers, emails, IDs).

Canvas color: #6D28D9. Category: nlp.

How To Use

  1. Drag the block from NLP & Text AI into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Input text
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
patterns
Entity patterns (regex)
json{"date":"\\d{4}-\\d{2}-\\d{2}","email":"[\\w.-]+@[\\w.-]+"}Configuration value used by this block when generating Sansqrit DSL code.
output_var
Entities dict
stringre_entitiesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let re_entities = regex_ner(text)
~

noise

Noise Models

Use this family when the workflow needs this block group as part of a larger visual program.

14 blocks

001 / Noise Models

Depolarising Noise

depol_noise

Applies random Pauli (X,Y,Z) with probability p/3. Most common noise model.

What It Does

Use Depolarising Noise when you need applies random Pauli (X,Y,Z) with probability p/3. Most common noise model.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
error_rate
Error rate p
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
apply_to
Apply to
selectall_gatesChooses from supported modes for predictable generated code.
Options: all_gates, 1q_only, 2q_only
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = depolarising(p=0.001)

002 / Noise Models

Bit-Flip Noise

bitflip_noise

Qubit flips |0āŸ©ā†”|1⟩ with probability p.

What It Does

Use Bit-Flip Noise when you need qubit flips |0āŸ©ā†”|1⟩ with probability p.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
p_flip
Flip probability
number0.01Numeric configuration used during code generation or execution.
Range: 0 to 0.5
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = bit_flip(p=0.01)

003 / Noise Models

Phase-Flip Noise

phaseflip_noise

Applies Z with probability p. Destroys coherence without affecting populations.

What It Does

Use Phase-Flip Noise when you need applies Z with probability p. Destroys coherence without affecting populations.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
p_flip
Phase flip prob
number0.01Numeric configuration used during code generation or execution.
Range: 0 to 0.5
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = phase_flip(p=0.01)

004 / Noise Models

Amplitude Damping

ampdamp_noise

Energy relaxation T1: qubit decays |1āŸ©ā†’|0⟩. Physically realistic for superconducting qubits.

What It Does

Use Amplitude Damping when you need energy relaxation T1: qubit decays |1āŸ©ā†’|0⟩. Physically realistic for superconducting qubits.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
gamma
Damping γ
number0.01Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 1
T1_us
T1 (μs)
number100Numeric configuration used during code generation or execution.
Range: 0.1 to 10000
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = amplitude_damping(gamma=0.01)

005 / Noise Models

Thermal Relaxation

thermal_noise

Combined T1+T2 thermal noise. Most physically realistic model for superconducting qubits.

What It Does

Use Thermal Relaxation when you need combined T1+T2 thermal noise. Most physically realistic model for superconducting qubits.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
T1_us
T1 (μs)
number100Numeric configuration used during code generation or execution.
Range: 0.1 to 10000
T2_us
T2 (μs)
number50Numeric configuration used during code generation or execution.
Range: 0.1 to 10000
gate_time_ns
Gate time (ns)
number50Numeric configuration used during code generation or execution.
Range: 1 to 10000
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = thermal(T1=100e-6, T2=50e-6)

006 / Noise Models

Readout Error

readout_noise

Readout misclassification: P(1|0) and P(0|1) assignment error.

What It Does

Use Readout Error when you need readout misclassification: P(1|0) and P(0|1) assignment error.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
p01
P(1|0)
number0.01Numeric configuration used during code generation or execution.
Range: 0 to 1
p10
P(0|1)
number0.05Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = readout_error(p01=0.01, p10=0.05)

007 / Noise Models

Crosstalk

crosstalk_noise

Unwanted coupling between neighbouring qubits during gate operations.

What It Does

Use Crosstalk when you need unwanted coupling between neighbouring qubits during gate operations.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
coupling_map
Coupling map
json[[0,1],[1,2]]Configuration value used by this block when generating Sansqrit DSL code.
strength
Coupling strength
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 0.1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = crosstalk(strength=0.001)

008 / Noise Models

Custom Kraus Channel

kraus_noise

Any physical noise channel: ρ→ΣKᵢρKᵢ†. Kraus operators must satisfy Ī£Kᵢ†Kįµ¢=I.

What It Does

Use Custom Kraus Channel when you need any physical noise channel: ρ→ΣKᵢρKᵢ†. Kraus operators must satisfy Ī£Kᵢ†Kįµ¢=I.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
kraus_ops
Kraus operators
json[]Configuration value used by this block when generating Sansqrit DSL code.
validate
Validate completeness
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = custom_kraus(ops=...)

009 / Noise Models

Coherent Error

coherent_error

Systematic over/under-rotation error. Worst case for VQE accuracy — does NOT average out.

What It Does

Use Coherent Error when you need systematic over/under-rotation error. Worst case for VQE accuracy — does NOT average out.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
over_rotation
Over-rotation (rad)
number0.01Numeric configuration used during code generation or execution.
Range: -1 to 1
apply_to
Apply to
selectall_1qChooses from supported modes for predictable generated code.
Options: all_1q, Rx, Ry, H
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = coherent_error(angle=0.01)

010 / Noise Models

Leakage to |2⟩

leakage_noise

Superconducting qubit leakage into non-computational |2⟩ state.

What It Does

Use Leakage to |2⟩ when you need superconducting qubit leakage into non-computational |2⟩ state.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
p_leak
Leakage probability
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 0.1
p_seep
Seepage back to |1⟩
number0.1Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = leakage(p=0.001)

011 / Noise Models

Reset Error

reset_error

Imperfect qubit reset: P(|1⟩ after reset) = p_reset_err.

What It Does

Use Reset Error when you need imperfect qubit reset: P(|1⟩ after reset) = p_reset_err.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
p_reset_err
Reset error
number0.01Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = reset_error(p=0.01)

012 / Noise Models

SPAM Errors

spam_noise

State Preparation And Measurement errors combined.

What It Does

Use SPAM Errors when you need state Preparation And Measurement errors combined.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
p_prep_err
Prep error
number0.005Numeric configuration used during code generation or execution.
Range: 0 to 1
p_meas_err
Measure error
number0.01Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = spam(prep=0.005, meas=0.01)

013 / Noise Models

2Q Gate Noise

two_qubit_noise

Higher error rate for 2-qubit gates vs 1-qubit gates.

What It Does

Use 2Q Gate Noise when you need higher error rate for 2-qubit gates vs 1-qubit gates.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
p_1q
1Q error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
p_2q
2Q error rate
number0.01Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

noise_model = two_qubit_noise(p1q=0.001, p2q=0.01)

014 / Noise Models

Device Noise Model

device_noise

Load real device calibration data to build accurate noise model.

What It Does

Use Device Noise Model when you need load real device calibration data to build accurate noise model.

Canvas color: #EA580C. Category: noise.

How To Use

  1. Drag the block from Noise Models into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
device
Device
selectibm_brisbaneChooses from supported modes for predictable generated code.
Options: ibm_brisbane, ibm_sherbrooke, google_sycamore, ionq_aria
use_latest_calib
Use latest calibration
booltrueTurns an optional behavior on or off for this block.
output_noise_model
Noise model var
stringdevice_noiseChooses the algorithmic behavior or transformation strategy.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let device_noise = device_noise_model("ibm_brisbane")
⬆

optimization

Optimisation

Use this family when the workflow needs this block group as part of a larger visual program.

18 blocks

001 / Optimisation

COBYLA

cobyla_opt

Constrained Optimisation By Linear Approximations. Derivative-free, robust for noisy VQE landscapes.

What It Does

Use COBYLA when you need constrained Optimisation By Linear Approximations. Derivative-free, robust for noisy VQE landscapes.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
objective_fn
Objective function
stringcost_fnConfiguration value used by this block when generating Sansqrit DSL code.
initial_params
Initial params
json[0.1, 0.2]Configuration value used by this block when generating Sansqrit DSL code.
max_iter
Max iterations
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 100000
rhobeg
Initial step size
number0.5Numeric configuration used during code generation or execution.
Range: 0.001 to 10
output_var
Output
stringcobyla_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let cobyla_result = cobyla(cost_fn, max_iter=1000)

002 / Optimisation

SPSA

spsa_opt

Simultaneous Perturbation Stochastic Approximation. Scales to high-dimension VQE with only 2 cost evaluations per step.

What It Does

Use SPSA when you need simultaneous Perturbation Stochastic Approximation. Scales to high-dimension VQE with only 2 cost evaluations per step.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
objective_fn
Objective function
stringcost_fnConfiguration value used by this block when generating Sansqrit DSL code.
initial_params
Initial params
json[0.1, 0.2]Configuration value used by this block when generating Sansqrit DSL code.
max_iter
Max iterations
number300Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 10000
a
Step size a
number0.1Numeric configuration used during code generation or execution.
Range: 0.001 to 10
c
Perturbation c
number0.1Numeric configuration used during code generation or execution.
Range: 0.001 to 1
output_var
Output
stringspsa_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let spsa_result = spsa(cost_fn, max_iter=300)

003 / Optimisation

Adam Optimizer

adam_opt

Adaptive Moment Estimation: Adam for quantum circuit parameter training.

What It Does

Use Adam Optimizer when you need adaptive Moment Estimation: Adam for quantum circuit parameter training.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
objective_fn
Objective function
stringcost_fnConfiguration value used by this block when generating Sansqrit DSL code.
initial_params
Initial params
json[0.1, 0.2]Configuration value used by this block when generating Sansqrit DSL code.
lr
Learning rate
number0.01Numeric configuration used during code generation or execution.
Range: 0.00001 to 1
beta1
β₁
number0.9Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 1
beta2
β₂
number0.999Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 1
max_iter
Iterations
number500Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 50000
output_var
Output
stringadam_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let adam_result = adam(cost_fn, lr=0.01)

004 / Optimisation

Genetic Algorithm

genetic_algo

Evolutionary optimisation: selection, crossover, mutation. For combinatorial and discrete problems.

What It Does

Use Genetic Algorithm when you need evolutionary optimisation: selection, crossover, mutation. For combinatorial and discrete problems.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
fitness_fn
Fitness function
stringfitness_fnConfiguration value used by this block when generating Sansqrit DSL code.
population
Population size
number100Numeric configuration used during code generation or execution.
Range: 10 to 10000
generations
Generations
number200Numeric configuration used during code generation or execution.
Range: 10 to 10000
mutation_rate
Mutation rate
number0.01Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 1
crossover_rate
Crossover rate
number0.8Numeric configuration used during code generation or execution.
Range: 0 to 1
output_var
Best solution
stringga_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ga_result = genetic_algorithm(fitness_fn, pop=100, gen=200)

005 / Optimisation

Simulated Annealing

simulated_annealing

Probabilistic metaheuristic: accepts worse solutions with cooling probability. Avoids local minima.

What It Does

Use Simulated Annealing when you need probabilistic metaheuristic: accepts worse solutions with cooling probability. Avoids local minima.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
objective_fn
Objective function
stringcost_fnConfiguration value used by this block when generating Sansqrit DSL code.
T_start
Start temperature
number100Numeric configuration used during code generation or execution.
Range: 0.1 to 1000000
T_end
End temperature
number0.01Numeric configuration used during code generation or execution.
Range: 0.000001 to 1
n_steps
Steps
number10000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 100 to 1000000000
cooling
Cooling schedule
selectexponentialChooses from supported modes for predictable generated code.
Options: linear, exponential, boltzmann
output_var
Output
stringsa_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sa_result = simulated_annealing(cost_fn, T_start=100)

006 / Optimisation

Particle Swarm

pso_opt

Particle Swarm Optimisation: swarm intelligence for continuous parameter spaces.

What It Does

Use Particle Swarm when you need particle Swarm Optimisation: swarm intelligence for continuous parameter spaces.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
objective_fn
Objective function
stringcost_fnConfiguration value used by this block when generating Sansqrit DSL code.
n_particles
Particles
number30Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 5 to 1000
max_iter
Iterations
number200Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
omega
Inertia ω
number0.7Numeric configuration used during code generation or execution.
Range: 0 to 2
c1
Cognitive c₁
number1.5Numeric configuration used during code generation or execution.
Range: 0 to 4
c2
Social cā‚‚
number1.5Numeric configuration used during code generation or execution.
Range: 0 to 4
output_var
Output
stringpso_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let pso_result = pso(cost_fn, n=30)

007 / Optimisation

L-BFGS-B

lbfgs_opt

Limited-memory BFGS with box constraints. Best for smooth, differentiable landscapes.

What It Does

Use L-BFGS-B when you need limited-memory BFGS with box constraints. Best for smooth, differentiable landscapes.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
objective_fn
Objective + gradient fn
stringcost_fnConfiguration value used by this block when generating Sansqrit DSL code.
initial_params
Initial params
json[0.1, 0.2]Configuration value used by this block when generating Sansqrit DSL code.
bounds
Bounds per param (null=unbounded)
jsonnullConfiguration value used by this block when generating Sansqrit DSL code.
max_iter
Max iterations
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 100000
output_var
Output
stringlbfgs_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let lbfgs_result = lbfgs(cost_fn, max_iter=1000)

008 / Optimisation

Bayesian Optimisation

bayesian_opt

Sample-efficient optimisation using Gaussian Process surrogate model. Ideal for expensive objectives.

What It Does

Use Bayesian Optimisation when you need sample-efficient optimisation using Gaussian Process surrogate model. Ideal for expensive objectives.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
objective_fn
Objective function
stringcost_fnConfiguration value used by this block when generating Sansqrit DSL code.
bounds
Search bounds
json{"x":[0,3.14],"y":[0,3.14]}Configuration value used by this block when generating Sansqrit DSL code.
n_initial
Initial random samples
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 100
n_iter
BO iterations
number25Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 5 to 1000
acquisition
Acquisition fn
selectEIChooses from supported modes for predictable generated code.
Options: EI, UCB, PI
output_var
Output
stringbo_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let bo_result = bayesian_opt(cost_fn, n_iter=25)

009 / Optimisation

Max-Cut

maxcut_block

Max-Cut problem: partition graph vertices to maximise cut edges. QAOA benchmark problem.

What It Does

Use Max-Cut when you need max-Cut problem: partition graph vertices to maximise cut edges. QAOA benchmark problem.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
edges
Edge list
json[[0,1],[1,2],[2,3],[3,0]]Configuration value used by this block when generating Sansqrit DSL code.
solver
Solver
selectQAOAChooses from supported modes for predictable generated code.
Options: QAOA, GoemansWilliamson, BruteForce, SDP
p_layers
QAOA layers p
number2Numeric configuration used during code generation or execution.
Range: 1 to 20
output_var
Output partition
stringmaxcut_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let maxcut_result = max_cut([[0,1],[1,2],[2,3],[3,0]], solver="QAOA")

010 / Optimisation

Travelling Salesman

tsp_block

Travelling Salesman Problem on quantum hardware via QAOA or quantum annealing.

What It Does

Use Travelling Salesman when you need travelling Salesman Problem on quantum hardware via QAOA or quantum annealing.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
distance_matrix
Distance matrix
json[[0,2,3],[2,0,1],[3,1,0]]Configuration value used by this block when generating Sansqrit DSL code.
solver
Solver
selectQAOAChooses from supported modes for predictable generated code.
Options: QAOA, D-Wave, Genetic, NN_heuristic
p_layers
QAOA layers
number3Numeric configuration used during code generation or execution.
Range: 1 to 20
output_var
Optimal route
stringtsp_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let tsp_result = tsp(distance_matrix, solver="QAOA")

011 / Optimisation

Portfolio Optimisation

portfolio_opt

Mean-variance portfolio optimisation (Markowitz). Binary or continuous allocation.

What It Does

Use Portfolio Optimisation when you need mean-variance portfolio optimisation (Markowitz). Binary or continuous allocation.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
returns_var
Expected returns
stringreturnsConfiguration value used by this block when generating Sansqrit DSL code.
cov_var
Covariance matrix
stringcov_matrixConfiguration value used by this block when generating Sansqrit DSL code.
risk_aversion
Risk aversion Ī»
number1Numeric configuration used during code generation or execution.
Range: 0 to 100
solver
Solver
selectclassical_QPChooses from supported modes for predictable generated code.
Options: QAOA, classical_QP, SA
n_assets
Assets to select
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 50
output_var
Portfolio weights
stringportfolioConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let portfolio = portfolio_opt(returns, lambda=1)

012 / Optimisation

Linear Programming

linear_prog

Minimise cįµ€x subject to Ax≤b, x≄0. Uses scipy.optimize.linprog.

What It Does

Use Linear Programming when you need minimise cįµ€x subject to Ax≤b, x≄0. Uses scipy.optimize.linprog.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
c_var
Objective coefficients c
stringcConfiguration value used by this block when generating Sansqrit DSL code.
A_var
Constraint matrix A
stringAConfiguration value used by this block when generating Sansqrit DSL code.
b_var
Constraint vector b
stringbConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selecthighsChooses the algorithmic behavior or transformation strategy.
Options: highs, simplex, revised_simplex, interior-point
output_var
Solution
stringlp_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let lp_result = linprog(c, A, b)

013 / Optimisation

Integer Programming

integer_prog

Mixed-integer linear programming with branch-and-bound.

What It Does

Use Integer Programming when you need mixed-integer linear programming with branch-and-bound.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
c_var
Objective
stringcConfiguration value used by this block when generating Sansqrit DSL code.
A_var
Constraints A
stringAConfiguration value used by this block when generating Sansqrit DSL code.
b_var
Bounds b
stringbConfiguration value used by this block when generating Sansqrit DSL code.
int_vars
Integer variable indices
json[0,1,2]Configuration value used by this block when generating Sansqrit DSL code.
output_var
Solution
stringilp_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ilp_result = integer_prog(c, A, b)

014 / Optimisation

QUBO Formulation

qubo_block

Quadratic Unconstrained Binary Optimisation: x᷊Qx form for quantum annealers and QAOA.

What It Does

Use QUBO Formulation when you need quadratic Unconstrained Binary Optimisation: x᷊Qx form for quantum annealers and QAOA.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
problem_var
Problem (dict or matrix)
stringproblemConfiguration value used by this block when generating Sansqrit DSL code.
solver
Solver
selectSAChooses from supported modes for predictable generated code.
Options: D-Wave, SA, QAOA, exact
output_var
Output solution
stringqubo_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let qubo_result = qubo_solve(problem)

015 / Optimisation

Convex Optimisation

cvx_opt

Solve convex programs via CVXPY (LP, QP, SOCP, SDP).

What It Does

Use Convex Optimisation when you need solve convex programs via CVXPY (LP, QP, SOCP, SDP).

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
problem_code
CVXPY problem
code# x = cp.Variable(n) # objective = cp.Minimize(...)Raw code text interpreted by the Sansqrit DSL runtime.
output_var
Solution
stringcvx_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let cvx_result = cvx_solve(...)

017 / Optimisation

Nelder-Mead

nelder_mead

Simplex method: robust derivative-free optimisation. Reliable for low-dimensional smooth landscapes.

What It Does

Use Nelder-Mead when you need simplex method: robust derivative-free optimisation. Reliable for low-dimensional smooth landscapes.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
objective_fn
Objective function
stringcost_fnConfiguration value used by this block when generating Sansqrit DSL code.
x0
Initial guess
json[0.5, 0.5]Configuration value used by this block when generating Sansqrit DSL code.
xatol
Absolute tolerance
number0.000001Numeric configuration used during code generation or execution.
Range: 1e-12 to 0.1
max_iter
Max iterations
number500Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 100000
output_var
Output
stringnm_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let nm_result = nelder_mead(cost_fn)

018 / Optimisation

Differential Evolution

diff_evolution

Population-based global optimiser. Excellent for multimodal continuous functions.

What It Does

Use Differential Evolution when you need population-based global optimiser. Excellent for multimodal continuous functions.

Canvas color: #B45309. Category: optimization.

How To Use

  1. Drag the block from Optimisation into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
objective_fn
Objective function
stringcost_fnConfiguration value used by this block when generating Sansqrit DSL code.
bounds
Bounds
json[[0,3.14],[0,3.14]]Configuration value used by this block when generating Sansqrit DSL code.
popsize
Pop size multiplier
number15Numeric configuration used during code generation or execution.
Range: 5 to 50
mutation
Mutation factor
number0.8Numeric configuration used during code generation or execution.
Range: 0.5 to 2
recombination
Recombination
number0.7Numeric configuration used during code generation or execution.
Range: 0 to 1
output_var
Output
stringde_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let de_result = differential_evolution(cost_fn)
šŸ“¤

output

Output & Display

Use this family to present results as tables, charts, logs, dashboards, or exported artifacts.

16 blocks

001 / Output & Display

Plot / Chart

plot_block

Plotly, Matplotlib, Bokeh: line, bar, scatter, histogram, heatmap, 3D.

What It Does

Use Plot / Chart when you need plotly, Matplotlib, Bokeh: line, bar, scatter, histogram, heatmap, 3D.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
x_var
X data variable
stringxConfiguration value used by this block when generating Sansqrit DSL code.
y_var
Y data variable
stringyConfiguration value used by this block when generating Sansqrit DSL code.
chart_type
Chart type
selectlineChooses the algorithmic behavior or transformation strategy.
Options: line, scatter, bar, histogram, heatmap, box, violin, 3d_scatter, contour
title
Title
stringemptyNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
x_label
X label
stringemptyNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
y_label
Y label
stringemptyNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
backend
Backend
selectplotlyChooses from supported modes for predictable generated code.
Options: plotly, matplotlib, bokeh
interactive
Interactive
booltrueTurns an optional behavior on or off for this block.
output_var
Output figure
stringfigConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let fig = plot(x, y, type="line", title="")

002 / Output & Display

Print

print_block

Print value to logs panel.

What It Does

Use Print when you need print value to logs panel.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
value_var
Value to print
stringresultConfiguration value used by this block when generating Sansqrit DSL code.
label
Label prefix
stringemptyNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
format
Format
selectautoChooses from supported modes for predictable generated code.
Options: auto, json, table, csv
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

print(result)

003 / Output & Display

Save File

save_file

Save variable to CSV, JSON, Parquet, HDF5, or pickle.

What It Does

Use Save File when you need save variable to CSV, JSON, Parquet, HDF5, or pickle.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringresultConfiguration value used by this block when generating Sansqrit DSL code.
file_path
Output file path
stringoutput.csvPoints to local or uploaded data. Use the upload/data controls when working with local files.
format
Format
selectcsvChooses from supported modes for predictable generated code.
Options: csv, json, parquet, hdf5, pickle, txt
overwrite
Overwrite existing
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

save("output.csv", result)

004 / Output & Display

Table View

table_block

Display tabular data in the output panel with sorting, filtering, pagination.

What It Does

Use Table View when you need display tabular data in the output panel with sorting, filtering, pagination.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
max_rows
Max rows
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
sortable
Sortable
booltrueTurns an optional behavior on or off for this block.
filterable
Filterable
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

table_view(data)

005 / Output & Display

Circuit Diagram

circuit_diagram

Export quantum circuit diagram as SVG, PDF, ASCII, or QASM.

What It Does

Use Circuit Diagram when you need export quantum circuit diagram as SVG, PDF, ASCII, or QASM.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register_var
Register variable
stringqConfiguration value used by this block when generating Sansqrit DSL code.
format
Format
selectsvgChooses from supported modes for predictable generated code.
Options: svg, pdf, ascii, qasm
show_params
Show gate params
booltrueTurns an optional behavior on or off for this block.
output_var
Output filepath
stringcircuit.svgConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let circuit.svg = circuit_diagram(q, format="svg")

006 / Output & Display

VQE Dashboard

vqe_dashboard

Live convergence plot: energy vs iteration, gradient norm, parameter trajectories.

What It Does

Use VQE Dashboard when you need live convergence plot: energy vs iteration, gradient norm, parameter trajectories.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
vqe_result_var
VQE result variable
stringvqe_resultConfiguration value used by this block when generating Sansqrit DSL code.
live_update
Live update
booltrueTurns an optional behavior on or off for this block.
show_params
Show parameter trajectories
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

vqe_dashboard(vqe_result)

007 / Output & Display

Interactive Dashboard

interactive_dash

Build interactive Dash/Streamlit/Panel dashboard from data.

What It Does

Use Interactive Dashboard when you need build interactive Dash/Streamlit/Panel dashboard from data.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
framework
Framework
selectPlotly_DashChooses from supported modes for predictable generated code.
Options: Plotly_Dash, Streamlit, Panel, Bokeh_serve
title
Dashboard title
stringSanskrit DashboardNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
output_port
Port
string8050Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

dashboard(data, title="Sanskrit Dashboard")

008 / Output & Display

Bloch Sphere

bloch_sphere

Render single-qubit state on Bloch sphere.

What It Does

Use Bloch Sphere when you need render single-qubit state on Bloch sphere.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
qubit_idx
Qubit index
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
animate
Animate gate sequence
boolfalseTurns an optional behavior on or off for this block.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

bloch_sphere(q[0])

009 / Output & Display

Histogram Plot

histogram_plot

Plot measurement histogram with configurable bins and normalisation.

What It Does

Use Histogram Plot when you need plot measurement histogram with configurable bins and normalisation.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data variable
stringresult.histogramConfiguration value used by this block when generating Sansqrit DSL code.
bins
Bins (0=auto)
number0Numeric configuration used during code generation or execution.
Range: 0 to 1000
normalise
Normalise to probabilities
boolfalseTurns an optional behavior on or off for this block.
title
Title
stringMeasurement HistogramNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

plot_histogram(result.histogram)

010 / Output & Display

Network Graph

network_graph_plot

Visualise graph structure with Pyvis, Gephi-export, or D3.

What It Does

Use Network Graph when you need visualise graph structure with Pyvis, Gephi-export, or D3.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
graph_var
Graph variable
stringGConfiguration value used by this block when generating Sansqrit DSL code.
layout
Layout
selectspringChooses from supported modes for predictable generated code.
Options: spring, circular, kamada_kawai, spectral, shell
interactive
Interactive HTML
booltrueTurns an optional behavior on or off for this block.
output_file
Output file
stringgraph.htmlPoints to local or uploaded data. Use the upload/data controls when working with local files.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

plot_network(G)

011 / Output & Display

Heatmap

heatmap_plot

Heatmap / correlation matrix / confusion matrix visualisation.

What It Does

Use Heatmap when you need heatmap / correlation matrix / confusion matrix visualisation.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
matrix_var
Matrix variable
stringmatrixConfiguration value used by this block when generating Sansqrit DSL code.
title
Title
stringHeatmapNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
colormap
Colormap
selectviridisChooses from supported modes for predictable generated code.
Options: viridis, plasma, RdBu_r, coolwarm, YlOrRd
annotate
Annotate cells
booltrueTurns an optional behavior on or off for this block.
cluster
Hierarchical cluster
boolfalseTurns an optional behavior on or off for this block.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

heatmap(matrix, title="Heatmap")

012 / Output & Display

Report Generator

report_gen

Auto-generate PDF/HTML report from experiment results.

What It Does

Use Report Generator when you need auto-generate PDF/HTML report from experiment results.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
title
Report title
stringSanskrit Experiment ReportNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
data_var
Results variable
stringresultsConfiguration value used by this block when generating Sansqrit DSL code.
format
Format
selectHTMLChooses from supported modes for predictable generated code.
Options: PDF, HTML, Markdown, DOCX
output_file
Output file
stringreport.htmlPoints to local or uploaded data. Use the upload/data controls when working with local files.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

generate_report("Sanskrit Experiment Report", results, format="HTML")

013 / Output & Display

Animation

animation_block

Animate state evolution, VQE convergence, or molecular dynamics.

What It Does

Use Animation when you need animate state evolution, VQE convergence, or molecular dynamics.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
frames_var
Frames data
stringframesConfiguration value used by this block when generating Sansqrit DSL code.
type
Animation type
selectstate_evolutionChooses the algorithmic behavior or transformation strategy.
Options: state_evolution, vqe_convergence, md_trajectory, custom
fps
FPS
number30Numeric configuration used during code generation or execution.
Range: 1 to 120
output_file
Output file
stringanimation.gifPoints to local or uploaded data. Use the upload/data controls when working with local files.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

animate(frames, fps=30)

014 / Output & Display

Molecule Visualiser

mol_visualise

3D molecular visualisation with py3Dmol / NGLview / RDKit 2D depiction.

What It Does

Use Molecule Visualiser when you need 3D molecular visualisation with py3Dmol / NGLview / RDKit 2D depiction.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mol_var
Molecule / trajectory
stringmolConfiguration value used by this block when generating Sansqrit DSL code.
engine
Engine
selectpy3DmolChooses from supported modes for predictable generated code.
Options: py3Dmol, NGLview, rdkit_2d, JSME
style
Style
selectball_and_stickChooses from supported modes for predictable generated code.
Options: stick, ball_and_stick, surface, ribbon
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

visualise_mol(mol)

015 / Output & Display

Console Log

console_log_block

Pretty-print complex objects (dict, list, quantum state) to logs panel.

What It Does

Use Console Log when you need pretty-print complex objects (dict, list, quantum state) to logs panel.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
value_var
Value
stringresultConfiguration value used by this block when generating Sansqrit DSL code.
format
Format
selectpprintChooses from supported modes for predictable generated code.
Options: pprint, json, yaml, repr
prefix
Log prefix
string[result]Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

print("[result]", result)

016 / Output & Display

LaTeX Output

latex_output

Render mathematical expressions as LaTeX in output panel.

What It Does

Use LaTeX Output when you need render mathematical expressions as LaTeX in output panel.

Canvas color: #F59E0B. Category: output.

How To Use

  1. Drag the block from Output & Display into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
expr_var
Expression or LaTeX string
stringresultConfiguration value used by this block when generating Sansqrit DSL code.
auto_convert
Auto-convert from SymPy
booltrueTurns an optional behavior on or off for this block.
label
Equation label
stringEq. 1Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

latex_render(result)
⚔

physics

Physics

Use this family when the workflow needs this block group as part of a larger visual program.

20 blocks

001 / Physics

Hamiltonian

hamiltonian_block

Define quantum Hamiltonian as Pauli string: Σᵢ hᵢ·Pᵢ. Used in VQE and QAOA.

What It Does

Use Hamiltonian when you need define quantum Hamiltonian as Pauli string: Σᵢ hᵢ·Pᵢ. Used in VQE and QAOA.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
pauli_string
Pauli string
string0.5*Z0*Z1 + 0.3*X0Configuration value used by this block when generating Sansqrit DSL code.
format
Format
selectpauli_stringChooses from supported modes for predictable generated code.
Options: pauli_string, matrix, openfermion
compute_ground_state
Compute ground state (exact)
boolfalseTurns an optional behavior on or off for this block.
output_var
Output hamiltonian
stringHConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let H = hamiltonian("0.5*Z0*Z1 + 0.3*X0")

002 / Physics

Ising Model

ising_model

Quantum Ising model: H = -J Ī£ Zįµ¢Zįµ¢ā‚Šā‚ - h Ī£ Xįµ¢. Phase transition at h/J=1.

What It Does

Use Ising Model when you need quantum Ising model: H = -J Ī£ Zįµ¢Zįµ¢ā‚Šā‚ - h Ī£ Xįµ¢. Phase transition at h/J=1.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_spins
Spins
number6Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 2 to 30
J_coupling
J coupling
number1Numeric configuration used during code generation or execution.
Range: 0 to 10
h_field
Transverse field h
number0.5Chooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
Range: 0 to 10
method
Method
selectVQEChooses the algorithmic behavior or transformation strategy.
Options: VQE, exact_diag, DMRG
output_var
Output
stringising_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ising_result = ising(n=6, J=1, h=0.5)

003 / Physics

Monte Carlo

monte_carlo

Statistical sampling: Metropolis-Hastings for partition functions and observables.

What It Does

Use Monte Carlo when you need statistical sampling: Metropolis-Hastings for partition functions and observables.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_samples
Samples
number10000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 100 to 100000000
n_burnin
Burn-in
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 100000
temperature
Temperature kT
number1Numeric configuration used during code generation or execution.
Range: 0 to 1000
algorithm
Algorithm
selectMetropolisChooses the algorithmic behavior or transformation strategy.
Options: Metropolis, Wolff, Wang-Landau
output_var
Output
stringmc_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let mc_result = monte_carlo(H, n=10000, T=1)

004 / Physics

Molecular Dynamics

molecular_dynamics

Classical MD simulation with AMBER, GROMACS, or OpenMM force fields.

What It Does

Use Molecular Dynamics when you need classical MD simulation with AMBER, GROMACS, or OpenMM force fields.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
system_var
System variable
stringmoleculeConfiguration value used by this block when generating Sansqrit DSL code.
force_field
Force field
selectAMBERChooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
Options: AMBER, CHARMM, OPLS, GROMOS
n_steps
Steps
number100000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1000 to 1000000000
timestep_fs
Timestep (fs)
number2Numeric configuration used during code generation or execution.
Range: 0.5 to 4
temperature_K
Temperature (K)
number300Numeric configuration used during code generation or execution.
Range: 0 to 10000
output_var
Output trajectory
stringtrajConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let traj = molecular_dynamics(molecule, steps=100000)

005 / Physics

Quantum Field Theory

quantum_field

Lattice QFT simulation: scalar φ⁓ theory, lattice gauge theory.

What It Does

Use Quantum Field Theory when you need lattice QFT simulation: scalar φ⁓ theory, lattice gauge theory.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model
Model
selectphi4Chooses the algorithmic behavior or transformation strategy.
Options: phi4, lattice_QED, lattice_QCD, Schwinger
lattice_size
Lattice size
json[8,8]Configuration value used by this block when generating Sansqrit DSL code.
mass
Mass m²
number1Numeric configuration used during code generation or execution.
Range: -10 to 100
coupling
Coupling Ī»
number0.5Numeric configuration used during code generation or execution.
Range: 0 to 100
output_var
Output
stringqft_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let qft_result = quantum_field("phi4")

006 / Physics

Condensed Matter

condensed_matter

Hubbard model, Heisenberg chain, topological phases, band structure.

What It Does

Use Condensed Matter when you need hubbard model, Heisenberg chain, topological phases, band structure.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model
Model
selectHeisenbergChooses the algorithmic behavior or transformation strategy.
Options: Hubbard, Heisenberg, SSH, Kitaev_chain
n_sites
Lattice sites
number8Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 2 to 100
n_particles
Particles
number4Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 50
output_var
Output
stringcm_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let cm_result = condensed_matter("Heisenberg", n=8)

007 / Physics

CFD Simulation

fluid_dynamics

Computational fluid dynamics: Navier-Stokes, LBM, SPH.

What It Does

Use CFD Simulation when you need computational fluid dynamics: Navier-Stokes, LBM, SPH.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
geometry_var
Geometry
stringdomainConfiguration value used by this block when generating Sansqrit DSL code.
solver
Solver
selectOpenFOAMChooses from supported modes for predictable generated code.
Options: OpenFOAM, LBM, SPH, FEniCS
reynolds
Reynolds number
number1000Numeric configuration used during code generation or execution.
Range: 1 to 1000000000
n_iter
Iterations
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 100000
output_var
Flow field
stringflow_fieldConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let flow_field = cfd(domain, Re=1000)

008 / Physics

Finite Element Analysis

finite_element

Structural mechanics, heat transfer, electromagnetics via FEM.

What It Does

Use Finite Element Analysis when you need structural mechanics, heat transfer, electromagnetics via FEM.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
mesh_var
Mesh / geometry
stringmeshConfiguration value used by this block when generating Sansqrit DSL code.
physics
Physics
selectstructuralChooses from supported modes for predictable generated code.
Options: structural, thermal, electromagnetic, multiphysics
solver
Solver
selectFEniCSChooses from supported modes for predictable generated code.
Options: FEniCS, GetFEM, Elmer, Abaqus
boundary_conditions_var
Boundary conditions
stringbcsConfiguration value used by this block when generating Sansqrit DSL code.
output_var
FEM result
stringfem_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let fem_result = fem(mesh, physics="structural")

009 / Physics

EM Field Simulation

em_field_sim

Maxwell equations: FDTD, FEM, MoM for antenna, waveguide, photonics.

What It Does

Use EM Field Simulation when you need maxwell equations: FDTD, FEM, MoM for antenna, waveguide, photonics.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
geometry_var
Structure
stringgeometryConfiguration value used by this block when generating Sansqrit DSL code.
method
Method
selectFDTDChooses the algorithmic behavior or transformation strategy.
Options: FDTD, FEM, MoM, RCWA
frequency_ghz
Frequency (GHz)
number10Numeric configuration used during code generation or execution.
Range: 0.001 to 1000000
excitation_var
Excitation
stringsourceSets a numeric boundary, size, count, or top-N selection used to bound work and output.
output_var
EM fields
stringem_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let em_result = em_sim(geometry, f=10)

010 / Physics

Plasma Simulation

plasma_sim

Particle-in-cell or fluid plasma simulation for fusion and astrophysics.

What It Does

Use Plasma Simulation when you need particle-in-cell or fluid plasma simulation for fusion and astrophysics.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
init_conditions
Initial conditions
stringplasma_initConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectPICChooses the algorithmic behavior or transformation strategy.
Options: PIC, MHD, Vlasov, hybrid
n_particles
Particles
number10000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 100 to 1000000000
n_steps
Steps
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000000
output_var
Plasma state
stringplasma_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let plasma_result = plasma_sim(model="PIC", n=10000)

011 / Physics

Nuclear Reactions

nuclear_physics

Nuclear cross-section, decay chains, fission/fusion Q-values.

What It Does

Use Nuclear Reactions when you need nuclear cross-section, decay chains, fission/fusion Q-values.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
reaction
Reaction (e.g. n+U235→...)
stringn+U235Configuration value used by this block when generating Sansqrit DSL code.
calculation
Calculation
selectQ_valueChooses from supported modes for predictable generated code.
Options: cross_section, Q_value, decay_chain, neutronics
output_var
Result
stringnuclear_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let nuclear_result = nuclear("n+U235", calc="Q_value")

012 / Physics

Optics & Photonics

optics_sim

Ray tracing, wavefront analysis, photonic crystal bands.

What It Does

Use Optics & Photonics when you need ray tracing, wavefront analysis, photonic crystal bands.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
optical_system_var
Optical system
stringopticsConfiguration value used by this block when generating Sansqrit DSL code.
simulation
Simulation
selectray_tracingChooses from supported modes for predictable generated code.
Options: ray_tracing, wave_optics, photonic_bands, FDTD_photonic
source_var
Light source
stringlaserConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Optical result
stringoptical_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let optical_result = optics_sim(optics)

013 / Physics

Quantum Optics

quantum_optics

Jaynes-Cummings, cavity QED, master equation for open quantum systems.

What It Does

Use Quantum Optics when you need jaynes-Cummings, cavity QED, master equation for open quantum systems.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
system_var
System Hamiltonian
stringH_sysConfiguration value used by this block when generating Sansqrit DSL code.
collapse_var
Collapse operators
stringc_opsConfiguration value used by this block when generating Sansqrit DSL code.
t_max
Max time
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0.1 to 10000
n_timesteps
Time steps
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 100000
output_var
Quantum state evolution
stringq_opt_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let q_opt_result = mesolve(H_sys, t_max=100)

014 / Physics

Tensor Network

tensor_network

MPS, DMRG, TEBD, PEPS for quantum many-body systems.

What It Does

Use Tensor Network when you need mPS, DMRG, TEBD, PEPS for quantum many-body systems.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
ansatz
Tensor network
selectMPSChooses from supported modes for predictable generated code.
Options: MPS, DMRG, TEBD, PEPS, MERA
bond_dim
Bond dimension χ
number64Numeric configuration used during code generation or execution.
Range: 2 to 4096
task
Task
selectground_stateChooses from supported modes for predictable generated code.
Options: ground_state, time_evolution, finite_T, excitations
hamiltonian_var
Hamiltonian
stringHSets a numeric boundary, size, count, or top-N selection used to bound work and output.
output_var
TN result
stringtn_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let tn_result = dmrg(H, chi=64)

015 / Physics

Spin-Boson Model

spin_boson

Open quantum system: two-level system coupled to bosonic bath.

What It Does

Use Spin-Boson Model when you need open quantum system: two-level system coupled to bosonic bath.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
epsilon
Bias e
number0Numeric configuration used during code generation or execution.
Range: -10 to 10
delta
Tunnelling D
number1Numeric configuration used during code generation or execution.
Range: 0 to 100
alpha
Kondo coupling a
number0.1Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 1
omega_c
Cutoff freq wc
number10Numeric configuration used during code generation or execution.
Range: 0.1 to 1000
method
Method
selectHEOMChooses the algorithmic behavior or transformation strategy.
Options: HEOM, QUAPI, mPS, Bloch-Redfield
output_var
Dynamics
stringsb_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sb_result = spin_boson(eps=0, delta=1)

016 / Physics

QED Calculation

qed_calc

Quantum Electrodynamics: Feynman diagram evaluation, S-matrix elements.

What It Does

Use QED Calculation when you need quantum Electrodynamics: Feynman diagram evaluation, S-matrix elements.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
process
QED process
stringe+e- → γγConfiguration value used by this block when generating Sansqrit DSL code.
com_energy_gev
CoM energy (GeV)
number91.2Numeric configuration used during code generation or execution.
Range: 0.001 to 14000
n_loops
Loop order
number0Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 3
output_var
Cross section
stringqed_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let qed_result = qed("e+e- → γγ", sqrt_s=91.2)

017 / Physics

Topological Phase

topological_phase

Compute topological invariants: Chern number, Z2 index, winding number.

What It Does

Use Topological Phase when you need compute topological invariants: Chern number, Z2 index, winding number.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
hamiltonian_var
Hamiltonian
stringH_kSets a numeric boundary, size, count, or top-N selection used to bound work and output.
invariant
Topological invariant
selectChern_numberChooses from supported modes for predictable generated code.
Options: Chern_number, Z2_index, winding_number, Berry_phase
n_k_points
k-grid per dim
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
output_var
Topological invariant
stringtopo_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let topo_result = topological_invariant(H_k)

018 / Physics

Quantum Transport

quantum_transport

Non-equilibrium Green function (NEGF) for quantum device transport.

What It Does

Use Quantum Transport when you need non-equilibrium Green function (NEGF) for quantum device transport.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
device_hamiltonian
Device Hamiltonian
stringH_devConfiguration value used by this block when generating Sansqrit DSL code.
lead_L_var
Left lead
stringH_LConfiguration value used by this block when generating Sansqrit DSL code.
lead_R_var
Right lead
stringH_RConfiguration value used by this block when generating Sansqrit DSL code.
voltage_V
Bias voltage (V)
number0.1Numeric configuration used during code generation or execution.
Range: -10 to 10
output_var
Transmission
stringtransport_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let transport_result = negf_transport(H_dev, V=0.1)

019 / Physics

Semiclassical Approx

semiclassical_approx

WKB approximation, stationary phase, periodic orbit theory.

What It Does

Use Semiclassical Approx when you need wKB approximation, stationary phase, periodic orbit theory.

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
potential_fn
Potential V(x)
stringVConfiguration value used by this block when generating Sansqrit DSL code.
hbar
ā„
number1Numeric configuration used during code generation or execution.
Range: 1e-10 to 1000
method
Method
selectWKBChooses the algorithmic behavior or transformation strategy.
Options: WKB, stationary_phase, periodic_orbit
output_var
Semiclassical result
stringwkb_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let wkb_result = wkb(V)

020 / Physics

DFT+U

dft_plus_u

DFT with Hubbard U correction for strongly correlated materials (Mott insulators, TM oxides).

What It Does

Use DFT+U when you need dFT with Hubbard U correction for strongly correlated materials (Mott insulators, TM oxides).

Canvas color: #4338CA. Category: physics.

How To Use

  1. Drag the block from Physics into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
crystal_var
Crystal
stringcrystalConfiguration value used by this block when generating Sansqrit DSL code.
U_value_eV
U value (eV)
number4Numeric configuration used during code generation or execution.
Range: 0 to 20
target_species
Target species
stringFeSelects the qubit, bit, control, target, or helper register position used by the block.
code
Code
selectQuantumESPRESSOChooses from supported modes for predictable generated code.
Options: VASP, QuantumESPRESSO, WIEN2k
output_var
DFT+U result
stringdftu_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let dftu_result = dft_plus_u(crystal, U=4)
∿

pulse

Pulse Level

Use this family when the workflow needs this block group as part of a larger visual program.

5 blocks

001 / Pulse Level

Gaussian Pulse

gaussian_pulse

Gaussian microwave pulse for gate implementation. IBM Qiskit Pulse native.

What It Does

Use Gaussian Pulse when you need gaussian microwave pulse for gate implementation. IBM Qiskit Pulse native.

Canvas color: #E11D48. Category: pulse.

How To Use

  1. Drag the block from Pulse Level into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
amplitude
Amplitude
number0.5Numeric configuration used during code generation or execution.
Range: 0 to 1
sigma
Sigma (samples)
number64Numeric configuration used during code generation or execution.
Range: 1 to 1000
duration
Duration (dt)
number256Numeric configuration used during code generation or execution.
Range: 1 to 10000
channel
Channel
stringd0Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

pulse_gaussian(amp=0.5, sigma=64, dur=256, ch="d0")

002 / Pulse Level

DRAG Pulse

drag_pulse

DRAG: suppresses leakage to |2⟩ in transmon qubits. IBM standard native gate pulse.

What It Does

Use DRAG Pulse when you need dRAG: suppresses leakage to |2⟩ in transmon qubits. IBM standard native gate pulse.

Canvas color: #E11D48. Category: pulse.

How To Use

  1. Drag the block from Pulse Level into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
amplitude
Amplitude
number0.5Numeric configuration used during code generation or execution.
Range: 0 to 1
sigma
Sigma
number64Numeric configuration used during code generation or execution.
Range: 1 to 1000
beta
DRAG β
number0.5Controls a rotation, phase, optimizer angle, or variational parameter.
Range: -10 to 10
duration
Duration (dt)
number256Numeric configuration used during code generation or execution.
Range: 1 to 10000
channel
Channel
stringd0Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

pulse_drag(amp=0.5, beta=0.5, sigma=64, dur=256, ch="d0")

003 / Pulse Level

Square Pulse

square_pulse

Constant amplitude pulse for cross-resonance (CR) two-qubit gates.

What It Does

Use Square Pulse when you need constant amplitude pulse for cross-resonance (CR) two-qubit gates.

Canvas color: #E11D48. Category: pulse.

How To Use

  1. Drag the block from Pulse Level into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
amplitude
Amplitude
number0.3Numeric configuration used during code generation or execution.
Range: 0 to 1
duration
Duration (dt)
number256Numeric configuration used during code generation or execution.
Range: 1 to 10000
channel
Channel
stringu0Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

pulse_square(amp=0.3, dur=256, ch="u0")

004 / Pulse Level

Pulse Schedule

pulse_schedule

Compose multiple pulses into a synchronised schedule with timing control.

What It Does

Use Pulse Schedule when you need compose multiple pulses into a synchronised schedule with timing control.

Canvas color: #E11D48. Category: pulse.

How To Use

  1. Drag the block from Pulse Level into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
alignment
Alignment
selectsequentialChooses from supported modes for predictable generated code.
Options: sequential, parallel, left, right
output_var
Schedule variable
stringscheduleConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Pulse 1classicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Pulse 2classicalClassical bit register or classical control signal produced by measurement or control blocks.
  • Pulse 3classicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let schedule = pulse_schedule(alignment="sequential")

005 / Pulse Level

ECR Pulse

ecr_pulse

Echoed cross-resonance pulse for IBM 2-qubit gates.

What It Does

Use ECR Pulse when you need echoed cross-resonance pulse for IBM 2-qubit gates.

Canvas color: #E11D48. Category: pulse.

How To Use

  1. Drag the block from Pulse Level into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
ctrl_channel
Control channel
stringu0Configuration value used by this block when generating Sansqrit DSL code.
tgt_channel
Target channel
stringd1Configuration value used by this block when generating Sansqrit DSL code.
duration
Duration (dt)
number800Numeric configuration used during code generation or execution.
Range: 100 to 10000
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

pulse_ecr(ctrl="u0", tgt="d1", dur=800)
šŸ›”

quantum_ec

Quantum Error Correction

Use this family to construct, transform, measure, simulate, export, or analyze quantum circuits and sharded registers.

15 blocks

001 / Quantum Error Correction

Steane [[7,1,3]]

steane_code

7-qubit Steane code: encodes 1 logical qubit, corrects any single-qubit error. CSS construction from classical Hamming codes.

What It Does

Use Steane [[7,1,3]] when you need 7-qubit Steane code: encodes 1 logical qubit, corrects any single-qubit error. CSS construction from classical Hamming codes.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_qubit
Logical qubit var
stringq_dataSelects the qubit, bit, control, target, or helper register position used by the block.
auto_correct
Auto-correct errors
booltrueTurns an optional behavior on or off for this block.
output_var
Output syndrome
stringsteane_synConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Logical qubitregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let steane_syn = steane_encode(q_data)

002 / Quantum Error Correction

Shor [[9,1,3]]

shor_code

9-qubit Shor code: first quantum error correcting code. Concatenates phase-flip and bit-flip codes.

What It Does

Use Shor [[9,1,3]] when you need 9-qubit Shor code: first quantum error correcting code. Concatenates phase-flip and bit-flip codes.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_qubit
Logical qubit var
stringq_dataSelects the qubit, bit, control, target, or helper register position used by the block.
measure_stabilizers
Measure stabilizers
booltrueTurns an optional behavior on or off for this block.
output_var
Output
stringshor_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let shor_result = shor_encode(q_data)

003 / Quantum Error Correction

Surface Code

surface_code

Topological surface code: leading candidate for fault-tolerant QC. Threshold ~1%. Distance d requires d² physical qubits per logical qubit.

What It Does

Use Surface Code when you need topological surface code: leading candidate for fault-tolerant QC. Threshold ~1%. Distance d requires d² physical qubits per logical qubit.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
distance
Code distance d
number3Numeric configuration used during code generation or execution.
Range: 3 to 15
boundary
Boundary type
selectrotatedChooses from supported modes for predictable generated code.
Options: planar, toric, rotated
rounds
Error detection rounds
number3Numeric configuration used during code generation or execution.
Range: 1 to 100
decoder
Use MWPM decoder
booltrueTurns an optional behavior on or off for this block.
output_var
Logical qubit var
stringsurface_qConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let surface_q = surface_code(d=3, rounds=3)

004 / Quantum Error Correction

Color Code

color_code

2D color code: supports transversal Clifford + T gates. Triangular lattice geometry.

What It Does

Use Color Code when you need 2D color code: supports transversal Clifford + T gates. Triangular lattice geometry.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
distance
Distance d
number3Numeric configuration used during code generation or execution.
Range: 3 to 11
geometry
Lattice
selecttriangularChooses from supported modes for predictable generated code.
Options: triangular, hexagonal
output_var
Logical var
stringcolor_qConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let color_q = color_code(d=3)

005 / Quantum Error Correction

Bit-Flip Code [[3,1,1]]

bit_flip_code

Simplest repetition code: protects against single bit-flip errors only.

What It Does

Use Bit-Flip Code [[3,1,1]] when you need simplest repetition code: protects against single bit-flip errors only.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_qubit
Data qubit
stringq_dataSelects the qubit, bit, control, target, or helper register position used by the block.
output_var
Output
stringbfc_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let bfc_result = bit_flip_encode(q_data)

006 / Quantum Error Correction

Syndrome Measurement

syndrome_measure

Measure error syndrome without disturbing logical qubit. Uses ancilla qubits.

What It Does

Use Syndrome Measurement when you need measure error syndrome without disturbing logical qubit. Uses ancilla qubits.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
code_var
Encoded register
stringlogical_qConfiguration value used by this block when generating Sansqrit DSL code.
code_type
Code type
selectsurfaceChooses the algorithmic behavior or transformation strategy.
Options: steane, shor, surface, color
output_syndrome
Syndrome variable
stringsyndromeConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let syndrome = measure_syndrome(logical_q)

007 / Quantum Error Correction

Error Correction

error_correct

Apply correction operations based on measured syndrome.

What It Does

Use Error Correction when you need apply correction operations based on measured syndrome.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
code_var
Encoded register
stringlogical_qConfiguration value used by this block when generating Sansqrit DSL code.
syndrome_var
Syndrome variable
stringsyndromeConfiguration value used by this block when generating Sansqrit DSL code.
decoder
Decoder
selectMWPMChooses from supported modes for predictable generated code.
Options: MWPM, UF, NN, lookup
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • SyndromeclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

error_correct(logical_q, syndrome, decoder="MWPM")

008 / Quantum Error Correction

Logical Gate

logical_gate

Apply gate to logical qubit (fault-tolerant). Clifford gates are transversal; T needs magic state distillation.

What It Does

Use Logical Gate when you need apply gate to logical qubit (fault-tolerant). Clifford gates are transversal; T needs magic state distillation.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
code_var
Logical register
stringlogical_qConfiguration value used by this block when generating Sansqrit DSL code.
gate
Logical gate
selectHChooses from supported modes for predictable generated code.
Options: H, X, Y, Z, S, T, CNOT, CZ
target_logical
Target logical qubit
number0Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 100
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

logical_H(logical_q, 0)

009 / Quantum Error Correction

Magic State Distillation

magic_state_distill

Distil high-fidelity |T⟩ magic states needed for fault-tolerant T gates.

What It Does

Use Magic State Distillation when you need distil high-fidelity |T⟩ magic states needed for fault-tolerant T gates.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_noisy
Noisy input states
number15Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 7 to 100
target_fidelity
Target fidelity
number0.9999Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0.99 to 1
output_var
Output magic state
stringT_stateConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let T_state = magic_state_distill(n=15)

010 / Quantum Error Correction

FT State Prep

fault_tolerant_prep

Fault-tolerant preparation of |0⟩, |+⟩, or |T⟩ logical states.

What It Does

Use FT State Prep when you need fault-tolerant preparation of |0⟩, |+⟩, or |T⟩ logical states.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
state
Logical state
select|0⟩Chooses from supported modes for predictable generated code.
Options: |0⟩, |1⟩, |+⟩, |-⟩, |T⟩
code_var
Code var
stringlogical_qConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let logical_q = ft_prep("|0⟩")

011 / Quantum Error Correction

QEC Threshold Sim

qec_threshold

Simulate logical error rate vs physical error rate. Find code threshold.

What It Does

Use QEC Threshold Sim when you need simulate logical error rate vs physical error rate. Find code threshold.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
code
Code
selectsurfaceChooses from supported modes for predictable generated code.
Options: surface, steane, color
d_min
Min distance
number3Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 3 to 7
d_max
Max distance
number9Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 5 to 21
physical_errors
Physical error rates
json[0.001,0.005,0.01,0.02]Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output
stringthreshold_dataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let threshold_data = qec_threshold_sim("surface")

012 / Quantum Error Correction

MWPM Decoder

decoder_mwpm

Minimum Weight Perfect Matching decoder for surface codes. O(n³) but highly optimised.

What It Does

Use MWPM Decoder when you need minimum Weight Perfect Matching decoder for surface codes. O(n³) but highly optimised.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
syndrome_var
Syndrome
stringsyndromeConfiguration value used by this block when generating Sansqrit DSL code.
code_distance
Distance d
number3Numeric configuration used during code generation or execution.
Range: 3 to 21
weighted
Weighted edges
booltrueTurns an optional behavior on or off for this block.
output_var
Corrections
stringcorrectionsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let corrections = mwpm_decode(syndrome, d=3)

013 / Quantum Error Correction

Stabilizer Simulator

stabilizer_sim

Clifford-only simulation via stabilizer tableaux. Efficient O(n²) for error analysis.

What It Does

Use Stabilizer Simulator when you need clifford-only simulation via stabilizer tableaux. Efficient O(n²) for error analysis.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_qubits
Physical qubits
number50Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 2 to 10000
circuit_var
Circuit
stringqConfiguration value used by this block when generating Sansqrit DSL code.
track_errors
Track error propagation
booltrueTurns an optional behavior on or off for this block.
output_var
Output
stringstab_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let stab_result = stabilizer_sim(q, n=50)

014 / Quantum Error Correction

Resource Estimator

resource_estimate

Estimate physical qubit count, T-gate count, and runtime for fault-tolerant algorithm.

What It Does

Use Resource Estimator when you need estimate physical qubit count, T-gate count, and runtime for fault-tolerant algorithm.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
algorithm
Algorithm name
stringshor_2048Chooses the algorithmic behavior or transformation strategy.
logical_error_rate
Target logical error rate
number1e-12Numeric configuration used during code generation or execution.
Range: 1e-20 to 0.01
physical_error_rate
Physical error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0.000001 to 0.1
output_var
Output estimate
stringresource_estConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let resource_est = resource_estimate("shor_2048", p_phys=0.001)

015 / Quantum Error Correction

Concatenated Code

concatenated_code

Concatenate inner and outer codes for multiplicative threshold improvement.

What It Does

Use Concatenated Code when you need concatenate inner and outer codes for multiplicative threshold improvement.

Canvas color: #0F766E. Category: quantum_ec.

How To Use

  1. Drag the block from Quantum Error Correction into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
inner_code
Inner code
selectsteaneChooses from supported modes for predictable generated code.
Options: bit_flip, phase_flip, steane
outer_code
Outer code
selectsteaneChooses from supported modes for predictable generated code.
Options: steane, shor, surface
levels
Concatenation levels
number2Numeric configuration used during code generation or execution.
Range: 1 to 5
output_var
Logical var
stringconcat_qConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let concat_q = concatenated_code(inner="steane", outer="steane", levels=2)
šŸ“ˆ

finance

Quantum Finance

Use this family to construct, transform, measure, simulate, export, or analyze quantum circuits and sharded registers.

14 blocks

001 / Quantum Finance

Quantum Option Pricing

option_pricing

Price European/Asian options via Quantum Amplitude Estimation. Quadratic speedup over Monte Carlo.

What It Does

Use Quantum Option Pricing when you need price European/Asian options via Quantum Amplitude Estimation. Quadratic speedup over Monte Carlo.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
underlying
Underlying asset
stringSConfiguration value used by this block when generating Sansqrit DSL code.
S0
Spot price
number100Numeric configuration used during code generation or execution.
Range: 0.01 to 1000000000
K
Strike price
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0.01 to 1000000000
T
Maturity (years)
number1Numeric configuration used during code generation or execution.
Range: 0.001 to 100
r
Risk-free rate
number0.05Numeric configuration used during code generation or execution.
Range: 0 to 1
sigma
Volatility
number0.2Numeric configuration used during code generation or execution.
Range: 0 to 5
option_type
Type
selectEuropean_callChooses the algorithmic behavior or transformation strategy.
Options: European_call, European_put, Asian, barrier
method
Method
selectQAEChooses the algorithmic behavior or transformation strategy.
Options: QAE, Monte_Carlo, Black-Scholes, Binomial
output_var
Option price
stringoption_priceConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let option_price = option_price(S0=100, K=100, T=1, r=0.05, sigma=0.2)

002 / Quantum Finance

Risk Analysis

risk_analysis

Value-at-Risk and Conditional VaR via Quantum Amplitude Estimation.

What It Does

Use Risk Analysis when you need value-at-Risk and Conditional VaR via Quantum Amplitude Estimation.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
portfolio_var
Portfolio
stringportfolioConfiguration value used by this block when generating Sansqrit DSL code.
confidence
Confidence level
number0.95Numeric configuration used during code generation or execution.
Range: 0.5 to 0.9999
method
Method
selectQAEChooses the algorithmic behavior or transformation strategy.
Options: QAE, Monte_Carlo, historical, parametric
horizon_days
Horizon (days)
number1Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 252
output_var
Output risk
stringrisk_metricsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let risk_metrics = risk_analysis(portfolio, conf=0.95)

003 / Quantum Finance

Quantum Markowitz

markowitz_quantum

Mean-variance portfolio optimisation using QAOA or quantum annealing on QUBO formulation.

What It Does

Use Quantum Markowitz when you need mean-variance portfolio optimisation using QAOA or quantum annealing on QUBO formulation.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
returns_var
Returns series
stringreturnsConfiguration value used by this block when generating Sansqrit DSL code.
cov_var
Covariance matrix
stringcovConfiguration value used by this block when generating Sansqrit DSL code.
n_assets_select
Assets to select
number5Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 50
risk_aversion
Risk aversion
number1Numeric configuration used during code generation or execution.
Range: 0 to 100
solver
Solver
selectQAOAChooses from supported modes for predictable generated code.
Options: QAOA, D-Wave, classical
output_var
Weights
stringq_portfolioConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let q_portfolio = quantum_markowitz(returns, cov)

004 / Quantum Finance

FX Pricing

fx_model

Foreign exchange derivative pricing: Garman-Kohlhagen model.

What It Does

Use FX Pricing when you need foreign exchange derivative pricing: Garman-Kohlhagen model.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
spot_var
Spot rate
stringspotConfiguration value used by this block when generating Sansqrit DSL code.
K
Strike
number1Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 1000000
T
Maturity (years)
number0.25Numeric configuration used during code generation or execution.
Range: 0.001 to 10
r_d
Domestic rate
number0.05Numeric configuration used during code generation or execution.
Range: 0 to 0.5
r_f
Foreign rate
number0.03Numeric configuration used during code generation or execution.
Range: 0 to 0.5
sigma
Volatility
number0.1Numeric configuration used during code generation or execution.
Range: 0 to 2
output_var
Price
stringfx_priceConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let fx_price = fx_price(spot, K=1, T=0.25, r_d=0.05, r_f=0.03)

005 / Quantum Finance

Yield Curve

yield_curve

Bootstrap and interpolate yield curve from market instruments.

What It Does

Use Yield Curve when you need bootstrap and interpolate yield curve from market instruments.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
instruments_var
Market instruments
stringmarket_dataConfiguration value used by this block when generating Sansqrit DSL code.
interpolation
Interpolation
selectcubic_splineChooses from supported modes for predictable generated code.
Options: linear, cubic_spline, nelson_siegel, monotone_convex
output_var
Yield curve
stringyield_curveConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let yield_curve = yield_curve(market_data)

006 / Quantum Finance

Credit Risk

credit_risk

Merton model, KMV, or CDS spread-based credit risk estimation.

What It Does

Use Credit Risk when you need merton model, KMV, or CDS spread-based credit risk estimation.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
firm_var
Firm data
stringfirmConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectMertonChooses the algorithmic behavior or transformation strategy.
Options: Merton, KMV, reduced_form, CDS_bootstrap
output_var
PD and LGD
stringcredit_metricsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let credit_metrics = credit_risk(firm, model="Merton")

007 / Quantum Finance

Heston Stochastic Vol

heston_model

Heston stochastic volatility model option pricing via characteristic function.

What It Does

Use Heston Stochastic Vol when you need heston stochastic volatility model option pricing via characteristic function.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
S0
Spot price
number100Numeric configuration used during code generation or execution.
Range: 0 to 1000000000
v0
Initial variance
number0.04Numeric configuration used during code generation or execution.
Range: 0 to 1
kappa
Mean reversion Īŗ
number2Numeric configuration used during code generation or execution.
Range: 0 to 50
theta
Long-run variance Īø
number0.04Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 1
xi
Vol of vol ξ
number0.3Numeric configuration used during code generation or execution.
Range: 0 to 5
rho
Correlation ρ
number-0.7Numeric configuration used during code generation or execution.
Range: -1 to 1
K
Strike
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 1000000000
T
Maturity
number1Numeric configuration used during code generation or execution.
Range: 0 to 100
output_var
Heston price
stringheston_priceConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let heston_price = heston(S0=100, v0=0.04, kappa=2)

008 / Quantum Finance

Backtesting Engine

backtesting_block

Backtest trading strategy on historical data. Compute Sharpe, max drawdown, win rate.

What It Does

Use Backtesting Engine when you need backtest trading strategy on historical data. Compute Sharpe, max drawdown, win rate.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
strategy_fn
Strategy function
stringstrategy_fnChooses the algorithmic behavior or transformation strategy.
data_var
OHLCV data
stringprice_dataConfiguration value used by this block when generating Sansqrit DSL code.
initial_capital
Initial capital
number100000Points to an external service or local API endpoint. Check credentials and network access before running.
Range: 100 to 1000000000000
output_var
Backtest results
stringbt_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let bt_result = backtest(strategy_fn, price_data)

009 / Quantum Finance

Factor Model

factor_model

Fama-French 3/5-factor, CAPM, Barra risk factor decomposition.

What It Does

Use Factor Model when you need fama-French 3/5-factor, CAPM, Barra risk factor decomposition.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
returns_var
Asset returns
stringreturnsConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectFF3Chooses the algorithmic behavior or transformation strategy.
Options: CAPM, FF3, FF5, Barra, PCA
factor_data_var
Factor data
stringfactorsConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Factor loadings
stringfactor_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let factor_result = factor_model(returns, model="FF3")

010 / Quantum Finance

Order Book Simulation

order_book

Limit order book simulation with market microstructure.

What It Does

Use Order Book Simulation when you need limit order book simulation with market microstructure.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
model
Market model
selectSanta_FeChooses the algorithmic behavior or transformation strategy.
Options: LOBSTER, Santa_Fe, stochastic_LOB
n_agents
Agents
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
ticks
Simulation ticks
number10000Numeric configuration used during code generation or execution.
Range: 100 to 1000000000
output_var
LOB state
stringlob_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let lob_result = order_book_sim(n_agents=100)

011 / Quantum Finance

Crypto Analytics

crypto_block

DeFi, on-chain analytics, AMM pricing, MEV detection.

What It Does

Use Crypto Analytics when you need deFi, on-chain analytics, AMM pricing, MEV detection.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
chain
Blockchain
stringethereumConfiguration value used by this block when generating Sansqrit DSL code.
protocol
Protocol
stringuniswap_v3Configuration value used by this block when generating Sansqrit DSL code.
analysis
Analysis
selectamm_priceChooses from supported modes for predictable generated code.
Options: amm_price, liquidity, mev, gas_forecast, yield
output_var
Output
stringcrypto_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let crypto_result = crypto_analytics("ethereum", "uniswap_v3")

012 / Quantum Finance

Pairs Trading

pairs_trading

Statistical arbitrage: cointegration test, z-score signals, mean-reversion.

What It Does

Use Pairs Trading when you need statistical arbitrage: cointegration test, z-score signals, mean-reversion.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
asset_a_var
Asset A prices
stringprice_aConfiguration value used by this block when generating Sansqrit DSL code.
asset_b_var
Asset B prices
stringprice_bConfiguration value used by this block when generating Sansqrit DSL code.
z_entry
Z-score entry
number2Numeric configuration used during code generation or execution.
Range: 0.5 to 5
z_exit
Z-score exit
number0.5Numeric configuration used during code generation or execution.
Range: 0 to 3
output_var
Trading signals
stringpairs_signalsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let pairs_signals = pairs_trading(price_a, price_b)

013 / Quantum Finance

Financial Sentiment

sentiment_fin

NLP for earnings call transcripts, news, SEC filings.

What It Does

Use Financial Sentiment when you need nLP for earnings call transcripts, news, SEC filings.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
text_var
Financial text
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
model
Model
selectFinBERTChooses the algorithmic behavior or transformation strategy.
Options: FinBERT, ProsusAI-finbert, GPT-4-finance
output_var
Sentiment
stringfin_sentimentConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let fin_sentiment = fin_sentiment(text)

014 / Quantum Finance

Quantum ML Finance

quantum_ml_finance

QML for fraud detection, credit scoring, and algorithmic trading.

What It Does

Use Quantum ML Finance when you need qML for fraud detection, credit scoring, and algorithmic trading.

Canvas color: #065F46. Category: finance.

How To Use

  1. Drag the block from Quantum Finance into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
X_train
Features
stringX_trainConfiguration value used by this block when generating Sansqrit DSL code.
y_train
Labels
stringy_trainConfiguration value used by this block when generating Sansqrit DSL code.
model
QML model
selectQSVMChooses the algorithmic behavior or transformation strategy.
Options: QSVM, QNN, QKNN
output_var
Model
stringqml_fin_modelConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let qml_fin_model = quantum_finance_model(X_train, y_train)
āš›

quantum_gate

Quantum Gates

Use this family to construct, transform, measure, simulate, export, or analyze quantum circuits and sharded registers.

50 blocks

001 / Quantum Gates

H Gate

h_gate

Hadamard: |0āŸ©ā†’|+⟩=(|0⟩+|1⟩)/√2. H²=I.

What It Does

Use H Gate when you need hadamard: |0āŸ©ā†’|+⟩=(|0⟩+|1⟩)/√2. H²=I.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

H(q[0])

002 / Quantum Gates

X Gate

x_gate

Pauli-X: bit flip |0āŸ©ā†”|1⟩. Quantum NOT.

What It Does

Use X Gate when you need pauli-X: bit flip |0āŸ©ā†”|1⟩. Quantum NOT.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

X(q[0])

003 / Quantum Gates

Y Gate

y_gate

Pauli-Y: Y|0⟩=i|1⟩. Complex phase — stored as {re,im} (not real-only).

What It Does

Use Y Gate when you need pauli-Y: Y|0⟩=i|1⟩. Complex phase — stored as {re,im} (not real-only).

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

Y(q[0])

004 / Quantum Gates

Z Gate

z_gate

Pauli-Z: phase flip |1āŸ©ā†’-|1⟩.

What It Does

Use Z Gate when you need pauli-Z: phase flip |1āŸ©ā†’-|1⟩.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

Z(q[0])

005 / Quantum Gates

S Gate

s_gate

Phase S: |1āŸ©ā†’i|1⟩. S²=Z.

What It Does

Use S Gate when you need phase S: |1āŸ©ā†’i|1⟩. S²=Z.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

S(q[0])

006 / Quantum Gates

Sdg Gate

sdg_gate

S-dagger: |1āŸ©ā†’-i|1⟩.

What It Does

Use Sdg Gate when you need s-dagger: |1āŸ©ā†’-i|1⟩.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

Sdg(q[0])

007 / Quantum Gates

T Gate

t_gate

T gate: |1āŸ©ā†’e^(iĻ€/4)|1⟩. T-count determines quantum advantage.

What It Does

Use T Gate when you need t gate: |1āŸ©ā†’e^(iĻ€/4)|1⟩. T-count determines quantum advantage.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

T(q[0])

008 / Quantum Gates

Tdg Gate

tdg_gate

T-dagger: e^(-iπ/4) phase.

What It Does

Use Tdg Gate when you need t-dagger: e^(-iπ/4) phase.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

Tdg(q[0])

009 / Quantum Gates

SX Gate

sx_gate

√X gate. IBM native basis gate. SX²=X.

What It Does

Use SX Gate when you need √X gate. IBM native basis gate. SX²=X.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

SX(q[0])

010 / Quantum Gates

Rx(Īø)

rx_gate

X-rotation: Rx(Īø)=cos(Īø/2)I-iĀ·sin(Īø/2)X. Most common VQE variational gate.

What It Does

Use Rx(Īø) when you need x-rotation: Rx(Īø)=cos(Īø/2)I-iĀ·sin(Īø/2)X. Most common VQE variational gate.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
theta
Angle Īø
angle0.7853981633974483Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
vqe_param
VQE trainable
boolfalseTurns an optional behavior on or off for this block.
param_name
Param name
stringĪøā‚€Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

Rx(q[0], 0.785398)

011 / Quantum Gates

Ry(Īø)

ry_gate

Y-rotation: real-valued matrix — most numerically stable VQE gate. Default gate in HEA.

What It Does

Use Ry(Īø) when you need y-rotation: real-valued matrix — most numerically stable VQE gate. Default gate in HEA.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
theta
Angle Īø
angle1.5707963267948966Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
vqe_param
VQE trainable
boolfalseTurns an optional behavior on or off for this block.
param_name
Param name
stringĪøā‚€Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

Ry(q[0], 1.570796)

012 / Quantum Gates

Rz(Īø)

rz_gate

Z-rotation: diagonal — only modifies phases, no amplitude mixing. Used in QFT.

What It Does

Use Rz(Īø) when you need z-rotation: diagonal — only modifies phases, no amplitude mixing. Used in QFT.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
theta
Angle Īø
angle0.7853981633974483Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
vqe_param
VQE trainable
boolfalseTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

Rz(q[0], 0.785398)

013 / Quantum Gates

Phase P(Īø)

phase_gate

Phase gate: |0āŸ©ā†’|0⟩, |1āŸ©ā†’e^(iĪø)|1⟩. Generalises Z(Ļ€), S(Ļ€/2), T(Ļ€/4).

What It Does

Use Phase P(Īø) when you need phase gate: |0āŸ©ā†’|0⟩, |1āŸ©ā†’e^(iĪø)|1⟩. Generalises Z(Ļ€), S(Ļ€/2), T(Ļ€/4).

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
theta
Phase Īø
angle0.7853981633974483Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

P(q[0], 0.785398)

014 / Quantum Gates

U3(Īø,φ,Ī»)

u3_gate

General single-qubit gate — 3 Euler angles. Any single-qubit unitary = U3. IBM native.

What It Does

Use U3(Īø,φ,Ī») when you need general single-qubit gate — 3 Euler angles. Any single-qubit unitary = U3. IBM native.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
theta
Īø
angle0Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
phi
φ
angle0Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
lambda
Ī»
angle0Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

U3(q[0], 0.0000, 0.0000, 0.0000)

015 / Quantum Gates

CNOT (CX)

cnot_gate

Controlled-NOT: flips target when control=|1⟩. Cross-shard: Schmidt decomposition — no 20-qubit merge.

What It Does

Use CNOT (CX) when you need controlled-NOT: flips target when control=|1⟩. Cross-shard: Schmidt decomposition — no 20-qubit merge.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
control
Control qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
target
Target qubit
qubit1Selects the qubit, bit, control, target, or helper register position used by the block.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
log_result
Log result
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • ControlqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • TargetqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • ControlqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • TargetqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

CNOT(q[0], q[1])

016 / Quantum Gates

CZ Gate

cz_gate

Controlled-Z: phase flip on |11⟩. Symmetric — order irrelevant. Google Sycamore native.

What It Does

Use CZ Gate when you need controlled-Z: phase flip on |11⟩. Symmetric — order irrelevant. Google Sycamore native.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

CZ(q[0], q[1])

017 / Quantum Gates

CY Gate

cy_gate

Controlled-Y. Decomposed as SdgĀ·CNOTĀ·S.

What It Does

Use CY Gate when you need controlled-Y. Decomposed as SdgĀ·CNOTĀ·S.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
control
Control
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
target
Target
qubit1Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

CY(q[0], q[1])

018 / Quantum Gates

SWAP

swap_gate

Exchange two qubits. Implemented as 3 CNOTs: CNOT(a,b);CNOT(b,a);CNOT(a,b).

What It Does

Use SWAP when you need exchange two qubits. Implemented as 3 CNOTs: CNOT(a,b);CNOT(b,a);CNOT(a,b).

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

SWAP(q[0], q[1])

019 / Quantum Gates

iSWAP

iswap_gate

iSWAP: SWAP + phase factor i on swapped components. Superconducting native.

What It Does

Use iSWAP when you need iSWAP: SWAP + phase factor i on swapped components. Superconducting native.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

iSWAP(q[0], q[1])

020 / Quantum Gates

CP(Īø)

cp_gate

Controlled-Phase: e^(iĪø) to |11⟩ only. QFT subroutine. CP(Ļ€)=CZ.

What It Does

Use CP(Īø) when you need controlled-Phase: e^(iĪø) to |11⟩ only. QFT subroutine. CP(Ļ€)=CZ.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
control
Control
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
target
Target
qubit1Selects the qubit, bit, control, target, or helper register position used by the block.
theta
Phase Īø
angle0.7853981633974483Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

CP(q[0], q[1], 0.785398)

021 / Quantum Gates

CRz(Īø)

crz_gate

Controlled-Rz: applies Rz(θ) to target when control=|1⟩.

What It Does

Use CRz(θ) when you need controlled-Rz: applies Rz(θ) to target when control=|1⟩.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
control
Control
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
target
Target
qubit1Selects the qubit, bit, control, target, or helper register position used by the block.
theta
Īø
angle1.5707963267948966Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

CRz(q[0], q[1], 1.570796)

022 / Quantum Gates

RZZ(Īø)

rzz_gate

ZZ Ising coupling: exp(-iĪø/2 ZāŠ—Z). Native QAOA cost layer.

What It Does

Use RZZ(Īø) when you need zZ Ising coupling: exp(-iĪø/2 ZāŠ—Z). Native QAOA cost layer.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
theta
Coupling Īø
angle1.5707963267948966Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

RZZ(q[0], q[1], 1.570796)

023 / Quantum Gates

MĆølmer-SĆørensen

ms_gate

MS gate: native entangling gate for trapped-ion systems (IonQ, Quantinuum).

What It Does

Use MĆølmer-SĆørensen when you need mS gate: native entangling gate for trapped-ion systems (IonQ, Quantinuum).

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
theta
Īø
angle0.7853981633974483Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# MS(q[0], q[1], theta=0.7854)

024 / Quantum Gates

ECR

ecr_gate

Echoed Cross-Resonance: IBM superconducting native 2-qubit gate.

What It Does

Use ECR when you need echoed Cross-Resonance: IBM superconducting native 2-qubit gate.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
control
Control
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
target
Target
qubit1Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# ECR(q[0], q[1])

025 / Quantum Gates

Toffoli (CCX)

toffoli_gate

Toffoli: flips target when BOTH controls=|1⟩. Cross-shard: 6-CNOT Selinger decomposition.

What It Does

Use Toffoli (CCX) when you need toffoli: flips target when BOTH controls=|1⟩. Cross-shard: 6-CNOT Selinger decomposition.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
ctrl1
Control 1
qubit0Configuration value used by this block when generating Sansqrit DSL code.
ctrl2
Control 2
qubit1Configuration value used by this block when generating Sansqrit DSL code.
target
Target
qubit2Selects the qubit, bit, control, target, or helper register position used by the block.
noise_model
Noise model
selectnoneChooses the algorithmic behavior or transformation strategy.
Options: none, depolarising, bit_flip, thermal
error_rate
Gate error rate
number0.001Numeric configuration used during code generation or execution.
Range: 0 to 1
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • C1qubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • C2qubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • TargetqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

Toffoli(q[0], q[1], q[2])

026 / Quantum Gates

Fredkin (CSWAP)

fredkin_gate

Fredkin: swaps qubits A and B when control=|1⟩.

What It Does

Use Fredkin (CSWAP) when you need fredkin: swaps qubits A and B when control=|1⟩.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
control
Control
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
qa
Qubit A
qubit1Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit2Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

Fredkin(q[0], q[1], q[2])

027 / Quantum Gates

Barrier

barrier_gate

Optimisation fence — prevents gate reordering. No physical effect.

What It Does

Use Barrier when you need optimisation fence — prevents gate reordering. No physical effect.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
label
Label
stringbarrierNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

barrier()  # barrier

028 / Quantum Gates

Reset

reset_gate

Reset qubit to |0⟩: measure then conditionally flip.

What It Does

Use Reset when you need reset qubit to |0⟩: measure then conditionally flip.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target qubit
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

reset(q[0])

029 / Quantum Gates

Delay

delay_gate

Wait for duration — models T1/T2 decoherence or synchronises operations.

What It Does

Use Delay when you need wait for duration — models T1/T2 decoherence or synchronises operations.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
duration
Duration
number100Numeric configuration used during code generation or execution.
Range: 0 to 1000000
unit
Unit
selectnsChooses from supported modes for predictable generated code.
Options: dt, ns, us, ms
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# delay(q[0], 100ns)

030 / Quantum Gates

Custom Unitary

custom_unitary

Any single-qubit 2Ɨ2 unitary. Must satisfy U†U=I.

What It Does

Use Custom Unitary when you need any single-qubit 2Ɨ2 unitary. Must satisfy U†U=I.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
matrix
Matrix [[a,b],[c,d]]
json[[{"re":1,"im":0},{"re":0,"im":0}],[{"re":0,"im":0},{"re":1,"im":0}]]Configuration value used by this block when generating Sansqrit DSL code.
validate
Validate U†U=I
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# custom_unitary(q[0])

031 / Quantum Gates

Givens Rotation

givens_gate

2-qubit Givens rotation for Gaussian boson sampling and quantum chemistry ansƤtze.

What It Does

Use Givens Rotation when you need 2-qubit Givens rotation for Gaussian boson sampling and quantum chemistry ansƤtze.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
gate_type
Gate type
select2-qubit_GivensChooses the algorithmic behavior or transformation strategy.
Options: 2-qubit_Givens, Orbital_Rotation
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
theta
Īø
angle0.7853981633974483Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# givens_rotation(q[0], q[1], 0.7854)

032 / Quantum Gates

√X† (SX†)

pauli_x_half

Inverse √X gate. Native IBM gate. SX†² = X†.

What It Does

Use √X† (SX†) when you need inverse √X gate. Native IBM gate. SX†² = X†.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# sxdg(q[0])

033 / Quantum Gates

RZX(Īø)

rzx_gate

ZX rotation: exp(-iĪø/2 ZāŠ—X). IBM native 2-qubit gate for cross-resonance.

What It Does

Use RZX(Īø) when you need zX rotation: exp(-iĪø/2 ZāŠ—X). IBM native 2-qubit gate for cross-resonance.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
theta
Īø
angle0.7853981633974483Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# rzx(q[0], q[1], 0.7854)

034 / Quantum Gates

RXX(Īø)

rxx_gate

XX Ising coupling: exp(-iĪø/2 XāŠ—X). Used in trapped-ion MĆølmer-SĆørensen gates.

What It Does

Use RXX(Īø) when you need xX Ising coupling: exp(-iĪø/2 XāŠ—X). Used in trapped-ion MĆølmer-SĆørensen gates.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
theta
Īø
angle1.5707963267948966Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

RZZ(q[0], q[1], 1.5708)  # RXX via rotation

035 / Quantum Gates

RYY(Īø)

ryy_gate

YY Ising coupling: exp(-iĪø/2 YāŠ—Y).

What It Does

Use RYY(Īø) when you need yY Ising coupling: exp(-iĪø/2 YāŠ—Y).

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
theta
Īø
angle1.5707963267948966Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# ryy(q[0], q[1], 1.5708)

036 / Quantum Gates

√iSWAP

sqiswap_gate

Square root of iSWAP: Google Sycamore native gate.

What It Does

Use √iSWAP when you need square root of iSWAP: Google Sycamore native gate.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# sqrt_iswap(q[0], q[1])

037 / Quantum Gates

DCX

dcx_gate

Double-CX (controlled-X in both directions sequentially). IBM hardware basis gate.

What It Does

Use DCX when you need double-CX (controlled-X in both directions sequentially). IBM hardware basis gate.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

CNOT(q[0], q[1])
CNOT(q[1], q[0])  # DCX

038 / Quantum Gates

XXminusYY

xx_minus_yy

(XX-YY)/2 rotation: IBM native gate for fermionic simulation.

What It Does

Use XXminusYY when you need (XX-YY)/2 rotation: IBM native gate for fermionic simulation.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
theta
Īø
angle0Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
beta
β
angle0Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# xx_minus_yy(q[0], q[1], 0.0000, 0.0000)

039 / Quantum Gates

XXplusYY

xx_plus_yy

(XX+YY)/2 rotation: IBM native gate.

What It Does

Use XXplusYY when you need (XX+YY)/2 rotation: IBM native gate.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qa
Qubit A
qubit0Configuration value used by this block when generating Sansqrit DSL code.
qb
Qubit B
qubit1Configuration value used by this block when generating Sansqrit DSL code.
theta
Īø
angle0Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
beta
β
angle0Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# xx_plus_yy(q[0], q[1], 0.0000, 0.0000)

040 / Quantum Gates

CSdg

csdg_gate

Controlled-S-dagger gate.

What It Does

Use CSdg when you need controlled-S-dagger gate.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
control
Control
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
target
Target
qubit1Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# csdg(q[0], q[1])

041 / Quantum Gates

CT

ct_gate

Controlled-T gate.

What It Does

Use CT when you need controlled-T gate.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
control
Control
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
target
Target
qubit1Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# ct(q[0], q[1])

042 / Quantum Gates

C3X (3-control CX)

c3x_gate

Triple-controlled X gate. 4-qubit Toffoli generalisation.

What It Does

Use C3X (3-control CX) when you need triple-controlled X gate. 4-qubit Toffoli generalisation.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
c1
Control 1
qubit0Configuration value used by this block when generating Sansqrit DSL code.
c2
Control 2
qubit1Configuration value used by this block when generating Sansqrit DSL code.
c3
Control 3
qubit2Configuration value used by this block when generating Sansqrit DSL code.
target
Target
qubit3Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# c3x(q[0], q[1], q[2], q[3])

043 / Quantum Gates

C4X

c4x_gate

4-control CX gate.

What It Does

Use C4X when you need 4-control CX gate.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
c1
Control 1
qubit0Configuration value used by this block when generating Sansqrit DSL code.
c2
Control 2
qubit1Configuration value used by this block when generating Sansqrit DSL code.
c3
Control 3
qubit2Configuration value used by this block when generating Sansqrit DSL code.
c4
Control 4
qubit3Configuration value used by this block when generating Sansqrit DSL code.
target
Target
qubit4Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# c4x(q[0],q[1],q[2],q[3],q[4])

044 / Quantum Gates

CSX

csx_gate

Controlled-SX gate. IBM native decomposition gate.

What It Does

Use CSX when you need controlled-SX gate. IBM native decomposition gate.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
control
Control
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
target
Target
qubit1Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.
  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# csx(q[0], q[1])

045 / Quantum Gates

U1(Ī») — Phase

u1_gate

U1 gate: diagonal phase gate, equivalent to P gate. Qiskit legacy.

What It Does

Use U1(Ī») — Phase when you need u1 gate: diagonal phase gate, equivalent to P gate. Qiskit legacy.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
lambda
Ī»
angle0.7853981633974483Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

P(q[0], 0.785398)  # U1 = P

046 / Quantum Gates

U2(φ,Ī»)

u2_gate

U2 gate: U3(Ļ€/2, φ, Ī»). Single Euler angle parametrisation.

What It Does

Use U2(φ,Ī») when you need u2 gate: U3(Ļ€/2, φ, Ī»). Single Euler angle parametrisation.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target
Target
qubit0Selects the qubit, bit, control, target, or helper register position used by the block.
phi
φ
angle0Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
lambda
Ī»
angle3.141592653589793Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Qubit inqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Qubit outqubitFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

U3(q[0], 1.5708, 0.0000, 3.1416)  # U2

047 / Quantum Gates

Global Phase

global_phase

Apply global phase e^(iĪø) to entire state. Unobservable but matters for controlled operations.

What It Does

Use Global Phase when you need apply global phase e^(iĪø) to entire state. Unobservable but matters for controlled operations.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
theta
Phase Īø
angle0.7853981633974483Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

# global_phase(q, 0.785398)

048 / Quantum Gates

Pauli Evolution

pauli_evo

exp(-iĪø P) for Pauli string P. Core VQE gate: time evolution under Hamiltonian term.

What It Does

Use Pauli Evolution when you need exp(-iĪø P) for Pauli string P. Core VQE gate: time evolution under Hamiltonian term.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
pauli_string
Pauli string
stringZZConfiguration value used by this block when generating Sansqrit DSL code.
theta
Īø
angle0.7853981633974483Controls a rotation, phase, optimizer angle, or variational parameter.
Range: 0 to 6.283185307179586
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
qubits
Acting qubits
json[0,1]Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

RZZ(q[0], q[1], 0.7854)  # Pauli evolution ZZ

049 / Quantum Gates

Trotter Step

trotter_step

First or second-order Trotter-Suzuki step: e^(-iHt) ā‰ˆ āˆe^(-iHā±¼t).

What It Does

Use Trotter Step when you need first or second-order Trotter-Suzuki step: e^(-iHt) ā‰ˆ āˆe^(-iHā±¼t).

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
hamiltonian_var
Hamiltonian
stringHSets a numeric boundary, size, count, or top-N selection used to bound work and output.
time
Time t
number0.1Numeric configuration used during code generation or execution.
Range: 0 to 100
order
Trotter order
select2ndChooses from supported modes for predictable generated code.
Options: 1st, 2nd, 4th
n_steps
Trotter steps
number1Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 1000
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

# trotter_step(q, H, t=0.1, order="2nd")

050 / Quantum Gates

Variational Form

variational_form

Complete parameterised ansatz: EfficientSU2, RealAmplitudes, TwoLocal, UCCSD.

What It Does

Use Variational Form when you need complete parameterised ansatz: EfficientSU2, RealAmplitudes, TwoLocal, UCCSD.

Canvas color: #6C3FC5. Category: quantum_gate.

How To Use

  1. Drag the block from Quantum Gates into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
ansatz
Ansatz
selectEfficientSU2Chooses from supported modes for predictable generated code.
Options: EfficientSU2, RealAmplitudes, TwoLocal, UCCSD, CHC
reps
Repetitions
number2Numeric configuration used during code generation or execution.
Range: 1 to 20
entanglement
Entanglement
selectcircularControls a rotation, phase, optimizer angle, or variational parameter.
Options: linear, circular, full, sca
param_prefix
Param prefix
stringĪøConfiguration value used by this block when generating Sansqrit DSL code.
flatten_params
Flatten params
booltrueSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • Parameter listclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

# variational_ansatz(q, "EfficientSU2", reps=2)
šŸ“¦

quantum_reg

Quantum Registers

Use this family to construct, transform, measure, simulate, export, or analyze quantum circuits and sharded registers.

3 blocks

001 / Quantum Registers

Quantum Register

q_register

N-qubit register. Auto-sharded into 10-qubit sparse chunks; supports 120+ qubit local sampling/top-N summaries while exact merged entanglement groups stay bounded.

What It Does

Use Quantum Register when you need n-qubit register. Auto-sharded into 10-qubit sparse chunks; supports 120+ qubit local sampling/top-N summaries while exact merged entanglement groups stay bounded.

Canvas color: #0D9488. Category: quantum_reg.

How To Use

  1. Drag the block from Quantum Registers into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_qubits
Qubits
number2Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 200
name
Register name
stringqNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
initial_state
Initial state
select|0...0⟩Chooses from supported modes for predictable generated code.
Options: |0...0⟩, |+...+⟩
log_on_create
Log shard map
booltrueSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let q = qubits(2)

002 / Quantum Registers

Ancilla Register

ancilla_reg

Auxiliary scratch qubits for algorithms and error correction. Auto-reset to |0⟩ after use.

What It Does

Use Ancilla Register when you need auxiliary scratch qubits for algorithms and error correction. Auto-reset to |0⟩ after use.

Canvas color: #0D9488. Category: quantum_reg.

How To Use

  1. Drag the block from Quantum Registers into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_ancilla
Ancilla qubits
number2Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 50
name
Name
stringancNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
auto_reset
Auto-reset
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • Ancilla outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

let anc = qubits(2)  # ancilla

003 / Quantum Registers

Classical Register

classical_reg

Classical bit register for storing measurement results.

What It Does

Use Classical Register when you need classical bit register for storing measurement results.

Canvas color: #0D9488. Category: quantum_reg.

How To Use

  1. Drag the block from Quantum Registers into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
n_bits
Bits
number4Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 64
name
Name
stringcNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • Bits outclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let c = [0] * 4
šŸ¤–

robotics

Robotics & Control

Use this family when the workflow needs this block group as part of a larger visual program.

12 blocks

001 / Robotics & Control

PID Controller

pid_controller

Proportional-Integral-Derivative controller for process control.

What It Does

Use PID Controller when you need proportional-Integral-Derivative controller for process control.

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
Kp
Proportional gain Kp
number1Numeric configuration used during code generation or execution.
Range: 0 to 1000
Ki
Integral gain Ki
number0.1Numeric configuration used during code generation or execution.
Range: 0 to 1000
Kd
Derivative gain Kd
number0.01Numeric configuration used during code generation or execution.
Range: 0 to 1000
setpoint
Setpoint
number0Numeric configuration used during code generation or execution.
Range: -infinity to infinity
dt
Timestep (s)
number0.01Numeric configuration used during code generation or execution.
Range: 0.000001 to 10
output_var
Control signal
stringuConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • Error signalclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • Control signalclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let u = pid(Kp=1, Ki=0.1, Kd=0.01, setpoint=0)

002 / Robotics & Control

Kalman Filter

kalman_filter

Optimal state estimation for linear systems with Gaussian noise.

What It Does

Use Kalman Filter when you need optimal state estimation for linear systems with Gaussian noise.

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
F
State transition matrix F
json[[1,0],[0,1]]Configuration value used by this block when generating Sansqrit DSL code.
H
Observation matrix H
json[[1,0]]Configuration value used by this block when generating Sansqrit DSL code.
Q
Process noise Q
json[[0.01,0],[0,0.01]]Configuration value used by this block when generating Sansqrit DSL code.
R
Measurement noise R
json[[0.1]]Configuration value used by this block when generating Sansqrit DSL code.
P0
Initial covariance Pā‚€
json[[1,0],[0,1]]Configuration value used by this block when generating Sansqrit DSL code.
output_var
State estimate
stringstate_estConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • MeasurementclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let state_est = kalman_filter(z, F, H, Q, R)

003 / Robotics & Control

Extended Kalman Filter

ekf_block

Non-linear state estimation via Jacobian linearisation.

What It Does

Use Extended Kalman Filter when you need non-linear state estimation via Jacobian linearisation.

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
f_fn
State transition fn
stringfConfiguration value used by this block when generating Sansqrit DSL code.
h_fn
Observation fn
stringhConfiguration value used by this block when generating Sansqrit DSL code.
jac_f_fn
Jacobian of f
stringjac_fConfiguration value used by this block when generating Sansqrit DSL code.
jac_h_fn
Jacobian of h
stringjac_hConfiguration value used by this block when generating Sansqrit DSL code.
output_var
State estimate
stringekf_stateConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ekf_state = ekf(z, f, h)

004 / Robotics & Control

Path Planning

path_planning

A*, RRT*, D*, or DWA path planning in 2D/3D environments.

What It Does

Use Path Planning when you need a*, RRT*, D*, or DWA path planning in 2D/3D environments.

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
start
Start [x,y]
json[0,0]Configuration value used by this block when generating Sansqrit DSL code.
goal
Goal [x,y]
json[10,10]Configuration value used by this block when generating Sansqrit DSL code.
map_var
Occupancy grid
stringocc_mapConfiguration value used by this block when generating Sansqrit DSL code.
algorithm
Algorithm
selectA*Chooses the algorithmic behavior or transformation strategy.
Options: A*, RRT*, D*, PRM, DWA
smooth_path
Smooth path
booltruePoints to local or uploaded data. Use the upload/data controls when working with local files.
output_var
Path
stringpathConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let path = path_plan(start=[0,0], goal=[10,10], algo="A*")

005 / Robotics & Control

SLAM

slam_block

Simultaneous Localisation And Mapping: ORB-SLAM3, GMapping, Cartographer.

What It Does

Use SLAM when you need simultaneous Localisation And Mapping: ORB-SLAM3, GMapping, Cartographer.

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
sensor_var
Sensor data (LiDAR/camera)
stringsensor_dataConfiguration value used by this block when generating Sansqrit DSL code.
algorithm
SLAM algorithm
selectORB-SLAM3Chooses the algorithmic behavior or transformation strategy.
Options: ORB-SLAM3, GMapping, Cartographer, LIO-SAM
sensor_type
Sensor type
selectRGBDChooses the algorithmic behavior or transformation strategy.
Options: monocular, stereo, RGBD, LiDAR
output_var
Map and pose
stringslam_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let slam_result = slam(sensor_data, algo="ORB-SLAM3")

006 / Robotics & Control

RL Agent

rl_agent

Reinforcement learning: PPO, SAC, TD3, DQN for robot control.

What It Does

Use RL Agent when you need reinforcement learning: PPO, SAC, TD3, DQN for robot control.

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
env_name
Gym environment
stringCartPole-v1Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
algorithm
RL algorithm
selectPPOChooses the algorithmic behavior or transformation strategy.
Options: PPO, SAC, TD3, DQN, A3C
total_steps
Total training steps
number1000000Numeric configuration used during code generation or execution.
Range: 1000 to 1000000000
n_envs
Parallel envs
number4Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 64
output_model
Trained model
stringrl_policyChooses the algorithmic behavior or transformation strategy.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let rl_policy = rl_train("CartPole-v1", algo="PPO", steps=1000000)

007 / Robotics & Control

Robot Kinematics

robot_kinematics

Forward and inverse kinematics for robotic arms (DH parameters).

What It Does

Use Robot Kinematics when you need forward and inverse kinematics for robotic arms (DH parameters).

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
dh_params
DH parameters
json[{"a":0,"d":0.5,"alpha":1.5708,"theta":0}]Configuration value used by this block when generating Sansqrit DSL code.
task
Task
selectforward_kinematicsChooses from supported modes for predictable generated code.
Options: forward_kinematics, inverse_kinematics, jacobian
joint_angles
Joint angles (rad)
json[0,0,0,0,0,0]Controls a rotation, phase, optimizer angle, or variational parameter.
output_var
End-effector pose
stringee_poseConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let ee_pose = kinematics(joints=[0,0,0,0,0,0], task="forward_kinematics")

008 / Robotics & Control

Motion Control

motion_control

Trajectory tracking, impedance control, force-torque control.

What It Does

Use Motion Control when you need trajectory tracking, impedance control, force-torque control.

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
trajectory_var
Desired trajectory
stringtrajConfiguration value used by this block when generating Sansqrit DSL code.
state_var
Current state
stringrobot_stateConfiguration value used by this block when generating Sansqrit DSL code.
controller
Controller type
selectimpedanceSelects the qubit, bit, control, target, or helper register position used by the block.
Options: PD, impedance, adaptive, computed_torque
stiffness
Stiffness K
number100Numeric configuration used during code generation or execution.
Range: 0 to 10000
damping
Damping D
number10Numeric configuration used during code generation or execution.
Range: 0 to 1000
output_var
Torques/commands
stringtorquesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let torques = motion_control(traj, robot_state)

009 / Robotics & Control

Sensor Fusion

sensor_fusion

Fuse IMU, GPS, camera, LiDAR, encoder data.

What It Does

Use Sensor Fusion when you need fuse IMU, GPS, camera, LiDAR, encoder data.

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
sensors
Sensor list
json["imu","gps","encoder"]Configuration value used by this block when generating Sansqrit DSL code.
method
Fusion method
selectEKFChooses the algorithmic behavior or transformation strategy.
Options: EKF, UKF, particle_filter, complementary
output_var
Fused state
stringfused_stateConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let fused_state = sensor_fusion(method="EKF")

010 / Robotics & Control

Grasp Planning

grasp_plan

Compute stable grasp poses for robotic manipulation.

What It Does

Use Grasp Planning when you need compute stable grasp poses for robotic manipulation.

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
object_var
Object pointcloud/mesh
stringobject_pcConfiguration value used by this block when generating Sansqrit DSL code.
algorithm
Algorithm
selectGraspNetChooses the algorithmic behavior or transformation strategy.
Options: GraspNet, GPD, 6-DOF-GraspNet, Dex-Net
n_candidates
Candidates
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 100
output_var
Grasp candidates
stringgraspsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let grasps = grasp_plan(object_pc)

011 / Robotics & Control

Physics Simulator

sim_physics

Real-time physics simulation: MuJoCo, Bullet, Isaac Gym.

What It Does

Use Physics Simulator when you need real-time physics simulation: MuJoCo, Bullet, Isaac Gym.

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
scene_var
Scene description
stringsceneConfiguration value used by this block when generating Sansqrit DSL code.
engine
Physics engine
selectMuJoCoChooses from supported modes for predictable generated code.
Options: MuJoCo, PyBullet, Isaac, DART, CoppeliaSim
sim_hz
Simulation Hz
number1000Numeric configuration used during code generation or execution.
Range: 10 to 100000
duration_s
Duration (s)
number10Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0.1 to 3600
output_var
Simulation result
stringsim_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let sim_result = physics_sim(scene, engine="MuJoCo")

012 / Robotics & Control

Navigation Stack

nav_stack

Full navigation stack: global + local planner, costmap, recovery behaviours.

What It Does

Use Navigation Stack when you need full navigation stack: global + local planner, costmap, recovery behaviours.

Canvas color: #7C2D12. Category: robotics.

How To Use

  1. Drag the block from Robotics & Control into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
goal_pose
Goal pose
json{"x":5,"y":3,"theta":0}Configuration value used by this block when generating Sansqrit DSL code.
map_var
2D map
stringmapConfiguration value used by this block when generating Sansqrit DSL code.
global_planner
Global planner
selectSmacChooses from supported modes for predictable generated code.
Options: A*, Dijkstra, NavFn, Smac
local_planner
Local planner
selectTEBChooses from supported modes for predictable generated code.
Options: DWA, TEB, MPPI, regulated_PP
output_var
Navigation result
stringnav_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Code override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq code
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let nav_result = navigate_to({"x":5,"y":3,"theta":0})
šŸ”’

security

Security & Auth

Use this family when the workflow needs this block group as part of a larger visual program.

4 blocks

001 / Security & Auth

JWT

jwt_block

Sign and verify JSON Web Tokens (RS256, HS256, ES256).

What It Does

Use JWT when you need sign and verify JSON Web Tokens (RS256, HS256, ES256).

Canvas color: #DC2626. Category: security.

How To Use

  1. Drag the block from Security & Auth into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
operation
Operation
selectsignChooses from supported modes for predictable generated code.
Options: sign, verify, decode
payload_var
Payload variable
stringclaimsConfiguration value used by this block when generating Sansqrit DSL code.
secret_var
Secret env var
stringJWT_SECRETConfiguration value used by this block when generating Sansqrit DSL code.
algorithm
Algorithm
selectHS256Chooses the algorithmic behavior or transformation strategy.
Options: HS256, RS256, ES256
expiry_seconds
Expiry (seconds)
number3600Numeric configuration used during code generation or execution.
Range: 1 to 86400
output_var
Output token
stringjwt_tokenConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let jwt_token = jwt_sign(claims, "JWT_SECRET")

002 / Security & Auth

Encrypt / Decrypt

encrypt_block

Symmetric encryption: AES-256-GCM, ChaCha20-Poly1305.

What It Does

Use Encrypt / Decrypt when you need symmetric encryption: AES-256-GCM, ChaCha20-Poly1305.

Canvas color: #DC2626. Category: security.

How To Use

  1. Drag the block from Security & Auth into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
operation
Operation
selectencryptChooses from supported modes for predictable generated code.
Options: encrypt, decrypt
data_var
Data variable
stringplaintextConfiguration value used by this block when generating Sansqrit DSL code.
key_var
Key env var
stringENCRYPTION_KEYConfiguration value used by this block when generating Sansqrit DSL code.
algorithm
Algorithm
selectAES-256-GCMChooses the algorithmic behavior or transformation strategy.
Options: AES-256-GCM, ChaCha20-Poly1305
output_var
Output
stringencryptedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let encrypted = encrypt(plaintext, key=secret("ENCRYPTION_KEY"))

003 / Security & Auth

OAuth2

oauth2_block

OAuth2 client credentials and auth code flows.

What It Does

Use OAuth2 when you need oAuth2 client credentials and auth code flows.

Canvas color: #DC2626. Category: security.

How To Use

  1. Drag the block from Security & Auth into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
client_id_var
Client ID env var
stringOAUTH_CLIENT_IDConfiguration value used by this block when generating Sansqrit DSL code.
client_secret_var
Secret env var
stringOAUTH_CLIENT_SECRETConfiguration value used by this block when generating Sansqrit DSL code.
token_url
Token URL
stringemptyPoints to an external service or local API endpoint. Check credentials and network access before running.
grant_type
Grant type
selectclient_credentialsChooses the algorithmic behavior or transformation strategy.
Options: client_credentials, authorization_code, refresh_token
scopes
Scopes
stringopenid profileConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Output token
stringoauth_tokenConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let oauth_token = oauth2(grant="client_credentials")

004 / Security & Auth

API Key Auth

api_key_auth

Validate incoming API key against stored hash.

What It Does

Use API Key Auth when you need validate incoming API key against stored hash.

Canvas color: #DC2626. Category: security.

How To Use

  1. Drag the block from Security & Auth into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
header_name
Header name
stringX-API-KeyNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
key_env_var
Expected key env var
stringAPI_KEYConfiguration value used by this block when generating Sansqrit DSL code.
hash_compare
Compare hashed
booltrueTurns an optional behavior on or off for this block.
output_var
Is valid variable
stringis_validConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.
  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let is_valid = api_key_validate(request, "X-API-Key")
āŠ•

sharding

Sharding Engine

Use this family when the workflow needs this block group as part of a larger visual program.

4 blocks

001 / Sharding Engine

Shard Register

shard_register

Explicit sharding control. Usually automatic — use for custom shard size configuration.

What It Does

Use Shard Register when you need explicit sharding control. Usually automatic — use for custom shard size configuration.

Canvas color: #65A30D. Category: sharding.

How To Use

  1. Drag the block from Sharding Engine into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
source_register
Source register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
shard_size
Shard size (max 10)
number10Numeric configuration used during code generation or execution.
Range: 1 to 10
log_shard_map
Log shard topology
booltrueTurns an optional behavior on or off for this block.
prune_threshold
Prune threshold
number1e-12Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1e-15 to 0.000001
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

# Sharding is automatic for registers > 10 qubits

002 / Sharding Engine

Amplitude Cache

amp_cache

Cache sparse state vector. Critical for VQE — circuit prefix is identical across 1000s of iterations.

What It Does

Use Amplitude Cache when you need cache sparse state vector. Critical for VQE — circuit prefix is identical across 1000s of iterations.

Canvas color: #65A30D. Category: sharding.

How To Use

  1. Drag the block from Sharding Engine into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
register
Register
stringqConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectautoChooses from supported modes for predictable generated code.
Options: auto, store, load, invalidate
compress
Compress
booltrueTurns an optional behavior on or off for this block.
log_hits
Log cache hits
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

# amplitude_cache: automatic

003 / Sharding Engine

Bin File Loader

bin_loader

Pre-loads gate lookup .bin files (26 MB total) at startup for O(1) Tier-1 gate lookup.

What It Does

Use Bin File Loader when you need pre-loads gate lookup .bin files (26 MB total) at startup for O(1) Tier-1 gate lookup.

Canvas color: #65A30D. Category: sharding.

How To Use

  1. Drag the block from Sharding Engine into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
bin_dir
Directory
stringdata/gates/Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
preload_all
Preload all
booltrueTurns an optional behavior on or off for this block.
validate_crc
Validate CRC64
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# bin files auto-loaded by Sanskrit runtime

004 / Sharding Engine

Cross-Shard Gate

cross_shard_gate

2-qubit gate spanning a shard boundary. The engine merges only bounded exact entanglement groups; keep cross-shard groups at 20 qubits or less.

What It Does

Use Cross-Shard Gate when you need 2-qubit gate spanning a shard boundary. The engine merges only bounded exact entanglement groups; keep cross-shard groups at 20 qubits or less.

Canvas color: #65A30D. Category: sharding.

How To Use

  1. Drag the block from Sharding Engine into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
qubit_a
Global qubit A
number9Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 199
qubit_b
Global qubit B
number10Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 0 to 199
gate
Gate type
selectCNOTChooses from supported modes for predictable generated code.
Options: CNOT, CZ, SWAP
log_entanglement
Log entanglement
booltrueControls a rotation, phase, optimizer angle, or variational parameter.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • Register inregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Outputs

  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.
  • Register outregisterQuantum register or sharded qubit collection. Connect quantum wires from registers into gates, algorithms, and measurements.

Generated Sansqrit Pattern

CNOT(q[9], q[10])  # exact bounded cross-shard merge
"

string_re

String & Regex

Use this family when the workflow needs this block group as part of a larger visual program.

7 blocks

001 / String & Regex

String Operations

string_ops

Format, split, join, replace, contains, case, slice, trim, zfill.

What It Does

Use String Operations when you need format, split, join, replace, contains, case, slice, trim, zfill.

Canvas color: #DB2777. Category: string_re.

How To Use

  1. Drag the block from String & Regex into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
input_var
Input variable
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectupperChooses from supported modes for predictable generated code.
Options: upper, lower, split, join, replace, trim, strip, len, slice, find, contains, startswith, endswith, zfill
pattern
Pattern / separator
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
replacement
Replacement
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
assign_to
Assign to
stringresultSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result = text.upper("")

002 / String & Regex

Regex Operations

regex_ops

Match, find, capture, replace using RE2 syntax. Named captures, multiline, case-insensitive.

What It Does

Use Regex Operations when you need match, find, capture, replace using RE2 syntax. Named captures, multiline, case-insensitive.

Canvas color: #DB2777. Category: string_re.

How To Use

  1. Drag the block from String & Regex into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
input_var
Input variable
stringtextConfiguration value used by this block when generating Sansqrit DSL code.
pattern
Regex pattern
string[A-Z]+Configuration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectis_matchChooses from supported modes for predictable generated code.
Options: is_match, find, find_all, captures, replace, replace_all, split
case_insensitive
Case insensitive
boolfalseTurns an optional behavior on or off for this block.
assign_to
Assign to
stringmatchesSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let matches = regex_is_match(r"[A-Z]+", text)

003 / String & Regex

JSON Operations

json_ops

Parse, serialize, JSONPath query, schema validate.

What It Does

Use JSON Operations when you need parse, serialize, JSONPath query, schema validate.

Canvas color: #DB2777. Category: string_re.

How To Use

  1. Drag the block from String & Regex into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
input_var
Input variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectparseChooses from supported modes for predictable generated code.
Options: parse, serialize, pretty_print, get_field, merge
field_path
JSONPath
string$.dataPoints to local or uploaded data. Use the upload/data controls when working with local files.
assign_to
Assign to
stringresultSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result = json_parse(data)

004 / String & Regex

XML Operations

xml_ops

Parse, XPath query, validate XSD.

What It Does

Use XML Operations when you need parse, XPath query, validate XSD.

Canvas color: #DB2777. Category: string_re.

How To Use

  1. Drag the block from String & Regex into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
input_var
Input variable
stringxml_dataConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectparseChooses from supported modes for predictable generated code.
Options: parse, serialize, xpath
xpath_expr
XPath
string//elementPoints to local or uploaded data. Use the upload/data controls when working with local files.
assign_to
Assign to
stringresultSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result = xml_parse(xml_data)

005 / String & Regex

Hash / HMAC

hash_block

MD5, SHA256/512, Blake3, HMAC-SHA256.

What It Does

Use Hash / HMAC when you need mD5, SHA256/512, Blake3, HMAC-SHA256.

Canvas color: #DB2777. Category: string_re.

How To Use

  1. Drag the block from String & Regex into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
input_var
Input variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
algorithm
Algorithm
selectSHA256Chooses the algorithmic behavior or transformation strategy.
Options: MD5, SHA1, SHA256, SHA512, Blake3, HMAC-SHA256
output_format
Format
selecthexChooses from supported modes for predictable generated code.
Options: hex, bytes, base64
assign_to
Assign to
stringhashSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let hash = hash_sha256(data)

006 / String & Regex

Format String

format_string

f-string: f"Energy: {energy:.6f} Ha". Specs: .Nf, .Ne, d, g, x.

What It Does

Use Format String when you need f-string: f"Energy: {energy:.6f} Ha". Specs: .Nf, .Ne, d, g, x.

Canvas color: #DB2777. Category: string_re.

How To Use

  1. Drag the block from String & Regex into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
template
Template
stringValue: {x:.3f}Configuration value used by this block when generating Sansqrit DSL code.
vars
Variables
json{}Configuration value used by this block when generating Sansqrit DSL code.
assign_to
Assign to
stringformattedSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let formatted = f"Value: {x:.3f}"

007 / String & Regex

Base64

base64_block

Base64 encode/decode. Standard, URL-safe, MIME.

What It Does

Use Base64 when you need base64 encode/decode. Standard, URL-safe, MIME.

Canvas color: #DB2777. Category: string_re.

How To Use

  1. Drag the block from String & Regex into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
input_var
Input variable
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
operation
Operation
selectencodeChooses from supported modes for predictable generated code.
Options: encode, decode
charset
Variant
selectstandardChooses from supported modes for predictable generated code.
Options: standard, url_safe, mime
assign_to
Assign to
stringresultSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result = base64_encode(data)
šŸ”§

utility

Utilities

Use this family when the workflow needs this block group as part of a larger visual program.

18 blocks

001 / Utilities

Timer

timer_block

Start and read elapsed time. Returns milliseconds.

What It Does

Use Timer when you need start and read elapsed time. Returns milliseconds.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
operation
Operation
selectstartChooses from supported modes for predictable generated code.
Options: start, stop, elapsed, reset
timer_id
Timer ID
stringt1Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output (elapsed ms)
stringelapsedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let elapsed = timer_start("t1")

002 / Utilities

UUID Generator

uuid_block

Generate UUID v4 or quantum-random ID.

What It Does

Use UUID Generator when you need generate UUID v4 or quantum-random ID.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
type
UUID type
selectv4Chooses the algorithmic behavior or transformation strategy.
Options: v4, v7, quantum
output_var
Output variable
stringnew_idConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let new_id = uuid()

003 / Utilities

Sleep / Wait

sleep_block

Pause execution for specified duration.

What It Does

Use Sleep / Wait when you need pause execution for specified duration.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
duration_ms
Duration (ms)
number1000Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 0 to 3600000
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

sleep(1000)

004 / Utilities

Config Loader

config_load

Load configuration from YAML, TOML, JSON, .env.

What It Does

Use Config Loader when you need load configuration from YAML, TOML, JSON, .env.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
config_file
Config file
stringconfig.yamlPoints to local or uploaded data. Use the upload/data controls when working with local files.
format
Format
selectyamlChooses from supported modes for predictable generated code.
Options: yaml, toml, json, env, cli
defaults
Defaults
json{}Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output config
stringconfigConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

let config = load_config("config.yaml")

005 / Utilities

Note / Comment

note_block

Documentation block. Generates a comment in .sq export. Never executed.

What It Does

Use Note / Comment when you need documentation block. Generates a comment in .sq export. Never executed.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
title
Title
stringNoteNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
content
Content
codeemptyRaw code text interpreted by the Sansqrit DSL runtime.
style
Style
selectcommentChooses from supported modes for predictable generated code.
Options: comment, section_header, todo, warning
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

# ── Note ────────────────────────────────────────
#

006 / Utilities

Type Cast

type_cast

Cast variable to int, float, str, bool, list, dict.

What It Does

Use Type Cast when you need cast variable to int, float, str, bool, list, dict.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
input_var
Input variable
stringxConfiguration value used by this block when generating Sansqrit DSL code.
to_type
Target type
selectfloatChooses the algorithmic behavior or transformation strategy.
Options: int, float, str, bool, list, dict
output_var
Output variable
stringyConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let y = float(x)

007 / Utilities

Debug Breakpoint

debug_break

Pause execution and dump state for inspection.

What It Does

Use Debug Breakpoint when you need pause execution and dump state for inspection.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
label
Breakpoint label
stringbp1Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
dump_all_vars
Dump all vars
booltrueTurns an optional behavior on or off for this block.
dump_quantum_state
Dump quantum state
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

debug!("bp1")

008 / Utilities

Sanskrit Version

version_block

Emit Sanskrit engine version, shard config, and feature flags.

What It Does

Use Sanskrit Version when you need emit Sanskrit engine version, shard config, and feature flags.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
log_to_panel
Log to panel
booltrueTurns an optional behavior on or off for this block.
output_var
Output var
stringversionConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let version = sanskrit_version()

009 / Utilities

Parallel Map

parallel_map

Apply function in parallel with multiprocessing pool.

What It Does

Use Parallel Map when you need apply function in parallel with multiprocessing pool.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
fn_var
Function
stringprocess_fnSets a numeric boundary, size, count, or top-N selection used to bound work and output.
items_var
Items list
stringitemsConfiguration value used by this block when generating Sansqrit DSL code.
n_workers
Workers
number4Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 1 to 256
backend
Backend
selectjoblibChooses from supported modes for predictable generated code.
Options: multiprocessing, threading, joblib, dask
output_var
Results
stringpar_resultsConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let par_results = parallel_map(process_fn, items, workers=4)

010 / Utilities

Result Cache

cache_block

Cache function results by input key. Redis, disk, or in-memory.

What It Does

Use Result Cache when you need cache function results by input key. Redis, disk, or in-memory.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
key_expr
Cache key expression
stringhash(input)Configuration value used by this block when generating Sansqrit DSL code.
ttl_seconds
TTL (seconds, 0=forever)
number0Numeric configuration used during code generation or execution.
Range: 0 to 2592000
backend
Cache backend
selectin_memoryChooses from supported modes for predictable generated code.
Options: in_memory, redis, disk
output_var
Cached result
stringcached_resultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.
  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

# cache(hash(input), ttl=0)

011 / Utilities

Progress Bar

progress_bar

Show tqdm-style progress bar for long loops.

What It Does

Use Progress Bar when you need show tqdm-style progress bar for long loops.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
iterable_var
Iterable
stringitemsConfiguration value used by this block when generating Sansqrit DSL code.
description
Description
stringProcessingConfiguration value used by this block when generating Sansqrit DSL code.
leave
Leave bar on finish
booltrueTurns an optional behavior on or off for this block.
output_var
Iteration variable
stringitemConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

for item in progress(items, desc="Processing"):

012 / Utilities

Feature Store

feature_store

Register and retrieve ML features from Feast, Tecton, or Hopsworks.

What It Does

Use Feature Store when you need register and retrieve ML features from Feast, Tecton, or Hopsworks.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
feature_view
Feature view
stringuser_featuresChooses the data column or feature used for filtering, plotting, grouping, training, or prediction.
entity_ids
Entity IDs
json[1,2,3]Configuration value used by this block when generating Sansqrit DSL code.
store
Feature store
selectFeastChooses from supported modes for predictable generated code.
Options: Feast, Tecton, Hopsworks, manual
output_var
Features
stringfeature_dfConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let feature_df = feature_store("user_features")

013 / Utilities

Experiment Tracker

experiment_tracker

Log experiments to MLflow, Weights&Biases, or Neptune.

What It Does

Use Experiment Tracker when you need log experiments to MLflow, Weights&Biases, or Neptune.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
run_name
Run name
stringvqe_experiment_1Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
params_to_log
Parameters to log
json{"n_qubits":4}Configuration value used by this block when generating Sansqrit DSL code.
metrics_to_log
Metrics to log
json{"energy":-1.137}Configuration value used by this block when generating Sansqrit DSL code.
platform
Platform
selectMLflowChooses from supported modes for predictable generated code.
Options: MLflow, WandB, Neptune, ClearML, Comet
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

log_experiment("vqe_experiment_1", params={"n_qubits":4})

014 / Utilities

Data Versioning

data_version

Version datasets and model artifacts with DVC, LakeFS, or Delta Lake.

What It Does

Use Data Versioning when you need version datasets and model artifacts with DVC, LakeFS, or Delta Lake.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
data_var
Data or path
stringdataConfiguration value used by this block when generating Sansqrit DSL code.
system
Versioning system
selectDVCChooses from supported modes for predictable generated code.
Options: DVC, LakeFS, Delta_Lake, git-annex
version_tag
Version tag
stringv1.0.0Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
message
Commit message
stringAdd training dataConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

version_data(data, tag="v1.0.0")

015 / Utilities

Environment Detect

env_detect

Detect runtime environment: local, cloud, HPC cluster, Docker.

What It Does

Use Environment Detect when you need detect runtime environment: local, cloud, HPC cluster, Docker.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
output_var
Environment info
stringenv_infoConfiguration value used by this block when generating Sansqrit DSL code.
log_details
Log details
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let env_info = detect_env()

016 / Utilities

Conditional Skip

conditional_skip

Skip downstream blocks if condition is true (circuit breaker pattern).

What It Does

Use Conditional Skip when you need skip downstream blocks if condition is true (circuit breaker pattern).

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
condition
Skip condition
stringenergy < -2.0Configuration value used by this block when generating Sansqrit DSL code.
log_skip
Log skip reason
booltrueTurns an optional behavior on or off for this block.
skip_message
Log message
stringSkipping: convergedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

if not (energy < -2.0):  # conditional skip

017 / Utilities

Format Number

format_number

Format numbers for display: scientific, fixed, engineering, percentage.

What It Does

Use Format Number when you need format numbers for display: scientific, fixed, engineering, percentage.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
value_var
Number variable
stringxConfiguration value used by this block when generating Sansqrit DSL code.
format
Format
selectautoChooses from supported modes for predictable generated code.
Options: fixed, scientific, engineering, percentage, auto
precision
Decimal places
number4Numeric configuration used during code generation or execution.
Range: 0 to 15
output_var
Formatted string
stringformattedConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let formatted = fmt_number(x, "auto", 4)

018 / Utilities

Quantum Runtime Config

quantum_runtime

Configure the Sanskrit quantum runtime: max qubits, shard size, precision.

What It Does

Use Quantum Runtime Config when you need configure the Sanskrit quantum runtime: max qubits, shard size, precision.

Canvas color: #94A3B8. Category: utility.

How To Use

  1. Drag the block from Utilities into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
max_qubits
Max qubits
number200Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 1 to 1000000
shard_size
Shard size
number10Numeric configuration used during code generation or execution.
Range: 2 to 20
precision
Precision
selectfloat64Chooses from supported modes for predictable generated code.
Options: float64, float32, complex128
gpu_acceleration
GPU acceleration
boolfalseTurns an optional behavior on or off for this block.
distributed
Distributed shards
boolfalseTurns an optional behavior on or off for this block.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

# quantum_runtime(max_q=200, shard=10)
šŸ’‰

vaccine

Vaccine & Immunology

Use this family when the workflow needs this block group as part of a larger visual program.

6 blocks

001 / Vaccine & Immunology

Antigen Design

antigen_design

Design vaccine antigen from pathogen sequence. Methods: consensus, mosaic, ancestral, AI.

What It Does

Use Antigen Design when you need design vaccine antigen from pathogen sequence. Methods: consensus, mosaic, ancestral, AI.

Canvas color: #DB2777. Category: vaccine.

How To Use

  1. Drag the block from Vaccine & Immunology into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
pathogen_sequence
Pathogen sequence
stringemptyPoints to local or uploaded data. Use the upload/data controls when working with local files.
method
Method
selectmosaicChooses the algorithmic behavior or transformation strategy.
Options: consensus, mosaic, ancestral, AI_generated
coverage_target
Coverage target (%)
number95Selects the qubit, bit, control, target, or helper register position used by the block.
Range: 50 to 100
output_var
Output antigen
stringantigenConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let antigen = antigen_design("", method="mosaic")

002 / Vaccine & Immunology

Epitope Predictor

epitope_pred

Predict T-cell and B-cell epitopes. MHC I/II binding using NetMHCpan, IEDB.

What It Does

Use Epitope Predictor when you need predict T-cell and B-cell epitopes. MHC I/II binding using NetMHCpan, IEDB.

Canvas color: #DB2777. Category: vaccine.

How To Use

  1. Drag the block from Vaccine & Immunology into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
protein_sequence
Protein sequence
stringemptySets a numeric boundary, size, count, or top-N selection used to bound work and output.
mhc_class
MHC class
selectIChooses from supported modes for predictable generated code.
Options: I, II, both
mhc_alleles
MHC alleles
json["HLA-A*02:01"]Configuration value used by this block when generating Sansqrit DSL code.
method
Method
selectNetMHCpanChooses the algorithmic behavior or transformation strategy.
Options: NetMHCpan, SYFPEITHI, IEDB_consensus
output_var
Output
stringepitopesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let epitopes = epitope_prediction("", mhc="I")

003 / Vaccine & Immunology

Immunogenicity

immunogenicity

Predict immunogenicity score — likelihood of triggering immune response.

What It Does

Use Immunogenicity when you need predict immunogenicity score — likelihood of triggering immune response.

Canvas color: #DB2777. Category: vaccine.

How To Use

  1. Drag the block from Vaccine & Immunology into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
antigen_var
Antigen
stringantigenSets a numeric boundary, size, count, or top-N selection used to bound work and output.
model
Model
selectIEDB_consensusChooses the algorithmic behavior or transformation strategy.
Options: NetMHCII, IEDB_consensus, TCR_model
output_var
Output
stringimm_scoreConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let imm_score = immunogenicity(antigen)

004 / Vaccine & Immunology

Antibody Design

antibody_design

Design therapeutic antibodies: CDR graft, humanisation, affinity maturation.

What It Does

Use Antibody Design when you need design therapeutic antibodies: CDR graft, humanisation, affinity maturation.

Canvas color: #DB2777. Category: vaccine.

How To Use

  1. Drag the block from Vaccine & Immunology into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
target_epitope
Target epitope
stringemptySelects the qubit, bit, control, target, or helper register position used by the block.
method
Method
selectde_novoChooses the algorithmic behavior or transformation strategy.
Options: CDR_graft, humanise, affinity_mature, de_novo
n_candidates
Candidates
number100Sets a numeric boundary, size, count, or top-N selection used to bound work and output.
Range: 10 to 10000
output_var
Output
stringantibodiesConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let antibodies = antibody_design("")

005 / Vaccine & Immunology

mRNA Design

mrna_design

Optimise mRNA codon usage, UTR, poly-A tail for maximum expression and stability.

What It Does

Use mRNA Design when you need optimise mRNA codon usage, UTR, poly-A tail for maximum expression and stability.

Canvas color: #DB2777. Category: vaccine.

How To Use

  1. Drag the block from Vaccine & Immunology into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
protein_sequence
Protein sequence
stringemptySets a numeric boundary, size, count, or top-N selection used to bound work and output.
host_organism
Host organism
stringhumanConfiguration value used by this block when generating Sansqrit DSL code.
codon_optimise
Codon optimise
booltrueSets a numeric boundary, size, count, or top-N selection used to bound work and output.
add_utr
Add UTR elements
booltrueTurns an optional behavior on or off for this block.
output_var
Output mRNA
stringmrnaConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let mrna = mrna_design("")

006 / Vaccine & Immunology

Vaccine Formulation

vax_formulation

Predict optimal adjuvants, delivery systems, and storage conditions.

What It Does

Use Vaccine Formulation when you need predict optimal adjuvants, delivery systems, and storage conditions.

Canvas color: #DB2777. Category: vaccine.

How To Use

  1. Drag the block from Vaccine & Immunology into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
antigen_var
Antigen
stringantigenSets a numeric boundary, size, count, or top-N selection used to bound work and output.
delivery
Delivery system
selectLNPChooses from supported modes for predictable generated code.
Options: LNP, alum, MF59, virosomes
adjuvant
Adjuvant
selectAS01BChooses from supported modes for predictable generated code.
Options: AS01B, CpG, poly_IC, none
output_var
Output
stringformulationConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let formulation = vaccine_formulation(antigen, delivery="LNP")
$

variable

Variables

Use this family when the workflow needs this block group as part of a larger visual program.

10 blocks

001 / Variables

Global Variable

global_var

Global variable accessible by ALL downstream blocks.

What It Does

Use Global Variable when you need global variable accessible by ALL downstream blocks.

Canvas color: #0D9488. Category: variable.

How To Use

  1. Drag the block from Variables into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
var_name
Name
stringshared_energyNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
var_type
Type hint
stringfloatChooses the algorithmic behavior or transformation strategy.
initial_value
Initial value
string0.0Configuration value used by this block when generating Sansqrit DSL code.
log_on_change
Log on change
booltrueSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

global shared_energy = 0.0

002 / Variables

Local Variable

local_var

Variable scoped to the current block.

What It Does

Use Local Variable when you need variable scoped to the current block.

Canvas color: #0D9488. Category: variable.

How To Use

  1. Drag the block from Variables into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
var_name
Name
stringxNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
initial_value
Initial value
string0Configuration value used by this block when generating Sansqrit DSL code.
log_value
Log value
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

x = 0

003 / Variables

Constant

const_var

Immutable constant. Cannot change after declaration.

What It Does

Use Constant when you need immutable constant. Cannot change after declaration.

Canvas color: #0D9488. Category: variable.

How To Use

  1. Drag the block from Variables into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
name
Name
stringMAX_ITERNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
value
Value
string1000Configuration value used by this block when generating Sansqrit DSL code.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

const MAX_ITER = 1000

004 / Variables

Variable Snapshot

var_snapshot

Dumps ALL variables + quantum states to logs panel. Does NOT affect execution.

What It Does

Use Variable Snapshot when you need dumps ALL variables + quantum states to logs panel. Does NOT affect execution.

Canvas color: #0D9488. Category: variable.

How To Use

  1. Drag the block from Variables into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
label
Snapshot label
stringcheckpoint_1Names the output, register, chart, job, or visible label so later blocks can reference it clearly.
include_quantum
Include quantum states
booltrueTurns an optional behavior on or off for this block.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Generated Sansqrit Pattern

debug_vars!("checkpoint_1")

005 / Variables

Environment Variable

env_var

Read OS environment variable. Falls back to default if not set.

What It Does

Use Environment Variable when you need read OS environment variable. Falls back to default if not set.

Canvas color: #0D9488. Category: variable.

How To Use

  1. Drag the block from Variables into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
env_key
ENV key
stringSANSKRIT_API_KEYConfiguration value used by this block when generating Sansqrit DSL code.
fallback
Default value
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
mask_in_logs
Mask in logs
booltrueSets a numeric boundary, size, count, or top-N selection used to bound work and output.
assign_to
Assign to
stringenv_valSets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let env_val = env("SANSKRIT_API_KEY")

006 / Variables

Secret / API Key

secret_var

API keys and credentials. Always masked in logs. Never exported to .sq files.

What It Does

Use Secret / API Key when you need aPI keys and credentials. Always masked in logs. Never exported to .sq files.

Canvas color: #0D9488. Category: variable.

How To Use

  1. Drag the block from Variables into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
secret_name
Secret name
stringOPENAI_API_KEYNames the output, register, chart, job, or visible label so later blocks can reference it clearly.
storage
Storage
selectenvChooses from supported modes for predictable generated code.
Options: browser_local, env, session
assign_to
Assign to
stringapi_keySets a numeric boundary, size, count, or top-N selection used to bound work and output.
bypass
Bypass this block
boolfalseBlock skipped and commented out in .sq export
code_override
Code override
boolfalseWrite custom .sq instead of generated
override_code
Custom .sq code
codeemptyOnly used when code_override is enabled

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let api_key = secret("OPENAI_API_KEY")

007 / Variables

List Comprehension

list_comprehension

Generate list inline: [f(x) for x in items if condition]

What It Does

Use List Comprehension when you need generate list inline: [f(x) for x in items if condition]

Canvas color: #0D9488. Category: variable.

How To Use

  1. Drag the block from Variables into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
expr
Expression f(x)
stringx*2Configuration value used by this block when generating Sansqrit DSL code.
var
Iteration variable
stringxConfiguration value used by this block when generating Sansqrit DSL code.
iterable
Iterable
stringrange(10)Configuration value used by this block when generating Sansqrit DSL code.
condition
Filter condition (blank=none)
stringemptyConfiguration value used by this block when generating Sansqrit DSL code.
output_var
Output list
stringresultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result = [x*2 for x in range(10)]

008 / Variables

Dict Comprehension

dict_comprehension

Build dict inline: {k: v for k,v in items}

What It Does

Use Dict Comprehension when you need build dict inline: {k: v for k,v in items}

Canvas color: #0D9488. Category: variable.

How To Use

  1. Drag the block from Variables into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
key_expr
Key expression
stringkConfiguration value used by this block when generating Sansqrit DSL code.
val_expr
Value expression
stringvConfiguration value used by this block when generating Sansqrit DSL code.
iterable
Iterable
stringitems.items()Configuration value used by this block when generating Sansqrit DSL code.
output_var
Output dict
stringresultConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

let result = {k: v for k,v in items.items()}

009 / Variables

Unpack / Destructure

unpack_block

Unpack tuple or list into multiple variables.

What It Does

Use Unpack / Destructure when you need unpack tuple or list into multiple variables.

Canvas color: #0D9488. Category: variable.

How To Use

  1. Drag the block from Variables into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
source_var
Source variable
stringresultConfiguration value used by this block when generating Sansqrit DSL code.
target_vars
Target variable names
json["a","b","c"]Selects the qubit, bit, control, target, or helper register position used by the block.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

  • InanyFlexible value. The receiving block accepts the object that is compatible with its operation.

Outputs

  • OutclassicalClassical bit register or classical control signal produced by measurement or control blocks.

Generated Sansqrit Pattern

a, b, c = result

010 / Variables

Swap Variables

swap_vars

Swap two variable values in place.

What It Does

Use Swap Variables when you need swap two variable values in place.

Canvas color: #0D9488. Category: variable.

How To Use

  1. Drag the block from Variables into the canvas.
  2. Connect required input ports from the left side.
  3. Set properties in the right panel, then run or export the generated Sansqrit code.
Properties, connectors, and generated code

Properties

PropertyTypeDefaultMeaning
var_a
Variable A
stringaConfiguration value used by this block when generating Sansqrit DSL code.
var_b
Variable B
stringbConfiguration value used by this block when generating Sansqrit DSL code.
bypass
Bypass
boolfalseWhen enabled, the visual block is skipped and exported as a commented block in generated Sansqrit code.
code_override
Override
boolfalseLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.
override_code
Custom .sq
codeemptyLets advanced users replace generated Sansqrit with custom code while keeping the block on the canvas.

Inputs

No input ports. This block starts a flow or uses configured values.

Outputs

No output ports. This block acts through side effects or downstream generated code.

Generated Sansqrit Pattern

a, b = b, a

FAQ

What is Sansqrit Visual Engine?

Sansqrit Visual Engine is the drag-and-drop block canvas for the Sansqrit DSL. It lets users build quantum, data, AI, chemistry, finance, logistics, climate, and scientific workflows visually, then run or export generated Sansqrit code.

How many visual blocks are documented?

This page documents 639 blocks across 54 registry categories, generated from the active Sansqrit block registry.

How do connectors work?

Blocks expose typed input and output ports. Drag from an output port to a compatible input port to create a wire. The compiler orders connected blocks and emits Sansqrit DSL code.

Can users override generated code?

Yes. Blocks include code override and bypass controls where supported. Override lets advanced users provide custom Sansqrit DSL while keeping the block in the workflow.

Can the visual engine handle large quantum examples?

Yes. The quantum register blocks use sparse sharded execution for large local examples, including 120+ qubit workflows that rely on sampling and top-N summaries.