{"x402Version":2,"service":"HALOWERK quantumwerk","version":"1.0.0","network":"eip155:8453","network_name":"Base Mainnet","chain_id":8453,"recipient":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","asset":{"symbol":"USDC","address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6},"facilitators":["CDP","https://facilitator.xpay.sh"],"payment_headers":{"primary":"PAYMENT-SIGNATURE","accepted":["PAYMENT-SIGNATURE","X-Payment","PAYMENT"],"challenge":["PAYMENT-REQUIRED"],"response":["PAYMENT-RESPONSE"]},"resources":[{"url":"https://quantum.halowerk.com/v1/qkd-key-request","method":"POST","name":"quantumwerk_qkd_key_request","description":"Compares caller-supplied Alice and Bob bases, retains matching-basis positions, calculates the quantum bit error rate over caller-selected revealed positions, and returns only a digest and count for remaining demonstration bits. It neither exchanges quantum states nor creates a secret key: all submitted bits are disclosed to this service and must never be used as production key material.","summary":"Sifts supplied BB84 observations and estimates QBER from explicitly revealed positions.","inputSchema":{"type":"object","required":["alice_bits","alice_bases","bob_bits","bob_bases","reveal_indices"],"additionalProperties":false,"properties":{"alice_bits":{"type":"string","minLength":8,"maxLength":4096,"pattern":"^[01]+$","description":"Alice measurement bits for a simulation or already completed experiment."},"alice_bases":{"type":"string","minLength":8,"maxLength":4096,"pattern":"^[XZ]+$","description":"Alice bases, X or Z, aligned with alice_bits."},"bob_bits":{"type":"string","minLength":8,"maxLength":4096,"pattern":"^[01]+$","description":"Bob measurement bits aligned with alice_bits."},"bob_bases":{"type":"string","minLength":8,"maxLength":4096,"pattern":"^[XZ]+$","description":"Bob bases, X or Z, aligned with bob_bits."},"reveal_indices":{"type":"array","maxItems":2048,"uniqueItems":true,"items":{"type":"integer","minimum":0,"maximum":4095,"description":"Zero-based raw observation index to reveal for QBER estimation."}}}},"mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","price":{"amount":"4000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"asset":"USDC","network_name":"Base Mainnet","name":"USD Coin","version":"2","assetTransferMethod":"eip3009","eip712Domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}},"maxTimeoutSeconds":300}]},{"url":"https://quantum.halowerk.com/v1/shors-threat-index","method":"POST","name":"quantumwerk_shors_threat_index","description":"Estimates logical qubits and logical gates from algorithm family and key size, applies a caller-supplied error-correction overhead, and reports capacity and runtime ratios. The formulas are coarse planning heuristics, not cryptanalytic proof or a forecast of when cryptographically relevant quantum computers will exist.","summary":"Compares declared quantum resources with a transparent Shor-resource heuristic.","inputSchema":{"type":"object","required":["algorithm","key_bits","available_physical_qubits","logical_gate_rate_per_second","error_correction_physical_per_logical","available_runtime_days"],"additionalProperties":false,"properties":{"algorithm":{"type":"string","enum":["rsa","finite-field-dh","ecc"]},"key_bits":{"type":"integer","minimum":128,"maximum":32768,"description":"RSA/modulus bits or ECC group-size bits."},"available_physical_qubits":{"type":"integer","minimum":1,"maximum":1000000000000},"logical_gate_rate_per_second":{"type":"number","minimum":0.000001,"maximum":1000000000000000},"error_correction_physical_per_logical":{"type":"number","minimum":1,"maximum":1000000000},"available_runtime_days":{"type":"number","minimum":0.000001,"maximum":365000}}},"mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","price":{"amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"asset":"USDC","network_name":"Base Mainnet","name":"USD Coin","version":"2","assetTransferMethod":"eip3009","eip712Domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}},"maxTimeoutSeconds":300}]},{"url":"https://quantum.halowerk.com/v1/circuit-optimize","method":"POST","name":"quantumwerk_circuit_optimize","description":"Cancels adjacent identical self-inverse gates on identical ordered targets and folds adjacent RX, RY or RZ rotations on identical targets. It preserves only these local identities; it does not commute gates, model hardware topology, synthesize arbitrary unitaries or prove global optimality.","summary":"Applies a small, auditable peephole optimizer to a supplied quantum gate list.","inputSchema":{"type":"object","required":["qubit_count","gates"],"additionalProperties":false,"properties":{"qubit_count":{"type":"integer","minimum":1,"maximum":128},"gates":{"type":"array","minItems":1,"maxItems":10000,"items":{"type":"object","required":["gate","targets"],"additionalProperties":false,"properties":{"gate":{"type":"string","enum":["X","Y","Z","H","CNOT","CZ","SWAP","RX","RY","RZ"]},"targets":{"type":"array","minItems":1,"maxItems":2,"uniqueItems":true,"items":{"type":"integer","minimum":0,"maximum":127}},"angle_rad":{"type":"number","minimum":-1000000,"maximum":1000000}}}}}},"mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","price":{"amount":"4000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"asset":"USDC","network_name":"Base Mainnet","name":"USD Coin","version":"2","assetTransferMethod":"eip3009","eip712Domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}},"maxTimeoutSeconds":300}]},{"url":"https://quantum.halowerk.com/v1/error-correction","method":"POST","name":"quantumwerk_error_correction","description":"Treats a caller-supplied odd-length bit word as a classical repetition code, majority-decodes one logical bit, and reports the corrected word and adjacent XOR syndrome. This narrow demonstration is not a surface-code simulation and does not model coherent quantum errors, measurements or fault-tolerant thresholds.","summary":"Decodes an odd-length repetition-code word and reports its adjacent parity syndrome.","inputSchema":{"type":"object","required":["encoded_bits"],"additionalProperties":false,"properties":{"encoded_bits":{"type":"string","minLength":3,"maxLength":99,"pattern":"^[01]+$","description":"Odd-length repetition-code word."}}},"mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","price":{"amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"asset":"USDC","network_name":"Base Mainnet","name":"USD Coin","version":"2","assetTransferMethod":"eip3009","eip712Domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}},"maxTimeoutSeconds":300}]},{"url":"https://quantum.halowerk.com/v1/annealer-schedule","method":"POST","name":"quantumwerk_annealer_schedule","description":"Interpolates a caller-supplied start and end temperature across a bounded number of steps using either a linear or geometric rule. It does not run an annealer, optimize a problem Hamiltonian or tune a schedule from hardware measurements.","summary":"Generates a deterministic linear or geometric temperature schedule.","inputSchema":{"type":"object","required":["start_temperature","end_temperature","steps","schedule"],"additionalProperties":false,"properties":{"start_temperature":{"type":"number","minimum":1e-12,"maximum":1000000000000},"end_temperature":{"type":"number","minimum":1e-12,"maximum":1000000000000},"steps":{"type":"integer","minimum":2,"maximum":2000},"schedule":{"type":"string","enum":["linear","geometric"]}}},"mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","price":{"amount":"2000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"asset":"USDC","network_name":"Base Mainnet","name":"USD Coin","version":"2","assetTransferMethod":"eip3009","eip712Domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}},"maxTimeoutSeconds":300}]},{"url":"https://quantum.halowerk.com/v1/lattice-check","method":"POST","name":"quantumwerk_lattice_check","description":"Uses lattice dimension, log2 determinant and an assumed root-Hermite factor to estimate Gaussian-heuristic and reduced-basis vector lengths in log2 units. It does not execute lattice reduction, validate an LWE instance or provide a cryptographic security level.","summary":"Compares a target lattice-vector length with transparent Gaussian and BKZ-style heuristics.","inputSchema":{"type":"object","required":["dimension","log2_determinant","target_norm_log2","root_hermite_factor"],"additionalProperties":false,"properties":{"dimension":{"type":"integer","minimum":2,"maximum":100000},"log2_determinant":{"type":"number","minimum":-1000000000,"maximum":1000000000},"target_norm_log2":{"type":"number","minimum":-1000000000,"maximum":1000000000},"root_hermite_factor":{"type":"number","minimum":1,"maximum":2}}},"mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","price":{"amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"asset":"USDC","network_name":"Base Mainnet","name":"USD Coin","version":"2","assetTransferMethod":"eip3009","eip712Domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}},"maxTimeoutSeconds":300}]},{"url":"https://quantum.halowerk.com/v1/random-number","method":"POST","name":"quantumwerk_random_number","description":"Counts zeros, ones and runs, reports a normalized monobit imbalance, and compares observed runs with the IID Bernoulli expectation. It generates no random number and is not a NIST test-suite replacement, entropy estimate or certification of cryptographic randomness.","summary":"Calculates simple monobit and runs diagnostics for a supplied bitstream.","inputSchema":{"type":"object","required":["bits"],"additionalProperties":false,"properties":{"bits":{"type":"string","minLength":32,"maxLength":100000,"pattern":"^[01]+$","description":"Caller-supplied bitstream to diagnose."}}},"mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","price":{"amount":"2000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"asset":"USDC","network_name":"Base Mainnet","name":"USD Coin","version":"2","assetTransferMethod":"eip3009","eip712Domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}},"maxTimeoutSeconds":300}]},{"url":"https://quantum.halowerk.com/v1/molecule-sim","method":"POST","name":"quantumwerk_molecule_sim","description":"Computes all pair distances and a single-parameter Lennard-Jones 12-6 potential using caller-supplied epsilon and sigma. It does not perform quantum chemistry, infer element-specific force fields, relax geometry, model bonds or predict experimental molecular behavior.","summary":"Evaluates a classical Lennard-Jones energy for supplied atom coordinates.","inputSchema":{"type":"object","required":["atoms","epsilon","sigma"],"additionalProperties":false,"properties":{"atoms":{"type":"array","minItems":2,"maxItems":200,"items":{"type":"object","required":["element","x","y","z"],"additionalProperties":false,"properties":{"element":{"type":"string","minLength":1,"maxLength":3},"x":{"type":"number","minimum":-1000000,"maximum":1000000},"y":{"type":"number","minimum":-1000000,"maximum":1000000},"z":{"type":"number","minimum":-1000000,"maximum":1000000}}}},"epsilon":{"type":"number","minimum":0,"maximum":1000000000,"description":"Pair potential energy scale in caller-selected units."},"sigma":{"type":"number","minimum":1e-9,"maximum":1000000000,"description":"Pair distance scale in the same coordinate units."}}},"mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","price":{"amount":"4000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"asset":"USDC","network_name":"Base Mainnet","name":"USD Coin","version":"2","assetTransferMethod":"eip3009","eip712Domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}},"maxTimeoutSeconds":300}]},{"url":"https://quantum.halowerk.com/v1/portfolio-qaoa","method":"POST","name":"quantumwerk_portfolio_qaoa","description":"Enumerates every selection of exactly k assets for at most 16 assets, maximizing summed expected return minus a caller-selected covariance penalty. It runs no quantum circuit and provides a deterministic classical optimum for testing a corresponding binary QAOA or QUBO formulation; it is not investment advice and ignores transaction costs and allocation sizes.","summary":"Solves a small binary portfolio objective exactly as a QAOA/QUBO benchmark.","inputSchema":{"type":"object","required":["assets","covariance","select_count","risk_aversion"],"additionalProperties":false,"properties":{"assets":{"type":"array","minItems":1,"maxItems":16,"items":{"type":"object","required":["name","expected_return"],"additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"maxLength":64},"expected_return":{"type":"number","minimum":-1000,"maximum":1000}}}},"covariance":{"type":"array","minItems":1,"maxItems":16,"items":{"type":"array","minItems":1,"maxItems":16,"items":{"type":"number","minimum":-1000000,"maximum":1000000}}},"select_count":{"type":"integer","minimum":1,"maximum":16},"risk_aversion":{"type":"number","minimum":0,"maximum":1000000}}},"mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","price":{"amount":"5000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"asset":"USDC","network_name":"Base Mainnet","name":"USD Coin","version":"2","assetTransferMethod":"eip3009","eip712Domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}},"maxTimeoutSeconds":300}]},{"url":"https://quantum.halowerk.com/v1/entanglement-test","method":"POST","name":"quantumwerk_entanglement_test","description":"Converts ++, +−, −+ and −− counts into a correlation for each of AB, AB′, A′B and A′B′, then computes S = E(AB) + E(AB′) + E(A′B) − E(A′B′). A value above the classical bound in supplied data does not by itself demonstrate entanglement or close detection, locality, sampling or significance loopholes.","summary":"Calculates the CHSH S statistic from four supplied measurement-setting count tables.","inputSchema":{"type":"object","required":["measurements"],"additionalProperties":false,"properties":{"measurements":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"object","required":["setting","plus_plus","plus_minus","minus_plus","minus_minus"],"additionalProperties":false,"properties":{"setting":{"type":"string","enum":["AB","ABprime","AprimeB","AprimeBprime"]},"plus_plus":{"type":"integer","minimum":0,"maximum":1000000000000},"plus_minus":{"type":"integer","minimum":0,"maximum":1000000000000},"minus_plus":{"type":"integer","minimum":0,"maximum":1000000000000},"minus_minus":{"type":"integer","minimum":0,"maximum":1000000000000}}}}}},"mimeType":"application/json","accepts":[{"scheme":"exact","network":"eip155:8453","payTo":"0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E","price":{"amount":"4000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"asset":"USDC","network_name":"Base Mainnet","name":"USD Coin","version":"2","assetTransferMethod":"eip3009","eip712Domain":{"name":"USD Coin","version":"2","chainId":8453,"verifyingContract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}}},"maxTimeoutSeconds":300}]}]}