<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd"><identifier identifierType="DOI">10.60507/FK2/AUJJ08</identifier><creators><creator><creatorName nameType="Personal">Groß, Christiane Franziska</creatorName><givenName>Christiane Franziska</givenName><familyName>Groß</familyName><nameIdentifier SchemeURI="https://orcid.org/" nameIdentifierScheme="ORCID">0009-0009-5876-1455</nameIdentifier><affiliation>Helmholtz Institute for Radiation and Nuclear Physics (HISKP) and Bethe Center for Theoretical Physics (bctp), Rheinische Friedrich-Wilhelms-Universität Bonn</affiliation></creator><creator><creatorName nameType="Personal">Romiti, Simone</creatorName><givenName>Simone</givenName><familyName>Romiti</familyName><nameIdentifier SchemeURI="https://orcid.org/" nameIdentifierScheme="ORCID">0000-0002-6509-447X</nameIdentifier><affiliation>Institute for Theoretical Physics, Albert Einstein Center for Fundamental Physics, University of Bern</affiliation></creator><creator><creatorName nameType="Personal">Funcke, Lena</creatorName><givenName>Lena</givenName><familyName>Funcke</familyName><nameIdentifier SchemeURI="https://orcid.org/" nameIdentifierScheme="ORCID">0000-0001-5022-9506</nameIdentifier><affiliation>Helmholtz Institute for Radiation and Nuclear Physics (HISKP) and Bethe Center for Theoretical Physics (bctp), Rheinische Friedrich-Wilhelms-Universität Bonn and Transdisciplinary Research Area ``Building Blocks of Matter and Fundamental Interactions'' (TRA Matter), Rheinische Friedrich-Wilhelms-Universität Bonn</affiliation></creator><creator><creatorName nameType="Personal">Jansen, Karl</creatorName><givenName>Karl</givenName><familyName>Jansen</familyName><nameIdentifier SchemeURI="https://orcid.org/" nameIdentifierScheme="ORCID">0000-0002-1574-7591</nameIdentifier><affiliation>Computation-Based Science and Technology Research Center, The Cyprus Institute and Deutsches Elektronen-Synchrotron DESY</affiliation></creator><creator><creatorName nameType="Personal">Kan, Angus</creatorName><givenName>Angus</givenName><familyName>Kan</familyName><nameIdentifier SchemeURI="https://orcid.org/" nameIdentifierScheme="ORCID">0000-0002-5699-365X</nameIdentifier><affiliation>Institute for Quantum Computing and Department of Physics &amp; Astronomy, University of Waterloo</affiliation></creator><creator><creatorName nameType="Personal">Kühn, Stefan</creatorName><givenName>Stefan</givenName><familyName>Kühn</familyName><nameIdentifier SchemeURI="https://orcid.org/" nameIdentifierScheme="ORCID">0000-0001-7693-350X</nameIdentifier><affiliation>Deutsches Elektronen-Synchrotron DESY</affiliation></creator><creator><creatorName nameType="Personal">Urbach, Carsten</creatorName><givenName>Carsten</givenName><familyName>Urbach</familyName><nameIdentifier SchemeURI="https://orcid.org/" nameIdentifierScheme="ORCID">0000-0003-1412-7582</nameIdentifier><affiliation>Helmholtz Institute for Radiation and Nuclear Physics (HISKP) and Bethe Center for Theoretical Physics (bctp), Rheinische Friedrich-Wilhelms-Universität Bonn</affiliation></creator></creators><titles><title>Code and scripts for ``Matching Lagrangian and Hamiltonian Simulations in (2+1)-dimensional U(1) Gauge Theory''</title></titles><publisher>bonndata</publisher><publicationYear>2025</publicationYear><subjects><subject>Physics</subject></subjects><contributors><contributor contributorType="ContactPerson"><contributorName nameType="Personal">Groß, Christiane Franziska</contributorName><givenName>Christiane Franziska</givenName><familyName>Groß</familyName><affiliation>University of Bonn</affiliation></contributor></contributors><dates><date dateType="Submitted">2025-08-11</date><date dateType="Updated">2025-08-20</date><date dateType="Collected">2022-01/2025-03</date></dates><resourceType resourceTypeGeneral="Dataset"/><relatedIdentifiers><relatedIdentifier relationType="IsSupplementTo" relatedIdentifierType="arXiv">2503.11480v1</relatedIdentifier></relatedIdentifiers><sizes><size>12306</size><size>263910</size></sizes><formats><format>text/plain</format><format>application/zip</format></formats><version>1.0</version><rightsList><rights rightsURI="info:eu-repo/semantics/openAccess"/><rights/></rightsList><descriptions><description descriptionType="Abstract">At finite lattice spacing, Lagrangian and Hamiltonian predictions differ due to discretization effects. 
In the Hamiltonian limit, i.e. at vanishing temporal lattice spacing a_t, the path integral approach in the Lagrangian formalism reproduces the results of the Hamiltonian theory.
In this work, we numerically calculate the Hamiltonian limit of a U(1) gauge theory in (2+1) dimensions.
This is achieved by Monte Carlo simulations in the Lagrangian formalism with lattices that are anisotropic in the time direction.
For each ensemble, we determine the ratio between the temporal and spatial scale with the  static quark potential and extrapolate to a_t to 0.
Our results are compared with the data from Hamiltonian simulations at small volumes, showing agreement within &lt;2 sigma.
These results can be used to match the two formalisms.
Here we provide the code and scripts needed to reproduce our results.</description><description descriptionType="TechnicalInfo">R, 4.1.2</description><description descriptionType="TechnicalInfo">C++, C++17</description></descriptions><geoLocations/><fundingReferences><fundingReference><funderName>Deutsche Forschungsgemeinschaft</funderName><awardNumber>CRC 1639 NuMeriQS – project no. 511713970</awardNumber></fundingReference><fundingReference><funderName>MKW NRW</funderName><awardNumber>NRW-FAIR, funding code NW21-024-A</awardNumber></fundingReference><fundingReference><funderName>Ministry of Science, Research and Culture of the State of Brandenburg</funderName><awardNumber>Center for Quantum Technology and Applications (CQTA)</awardNumber></fundingReference><fundingReference><funderName>European Union’s Horizon Europe Framework Programme (HORIZON) under the ERA Chair scheme</funderName><awardNumber>grant agreement no. 101087126</awardNumber></fundingReference></fundingReferences></resource>