Skip to content

Common quantum objects, isomophisms, and indexing used across the Piccolo.jl ecosystem

License

Notifications You must be signed in to change notification settings

kestrelquantum/PiccoloQuantumObjects.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiccoloQuantumObjects

Stable Dev Build Status Coverage

Description

PiccoloQuantumObjects.jl is a Julia package for working with quantum objects, providing tools for constructing and manipulating quantum states and operators. It is designed to be used with other packages in the Piccolo ecosystem, such as QuantumCollocation.jl and NamedTrajectories.jl.

Installation

This package is registered! To install, enter the Julia REPL, type ] to enter pkg mode, and then run:

pkg> add PiccoloQuantumObjects

Usage

The following example demonstrates how to create a quantum state, create a quantum operator, and apply the operator to the state:

using PiccoloQuantumObjects

# Create a quantum state
state = ket_from_string("g", [2])

# Create a quantum operator
operator = PAULIS[:X]

# Apply the operator to the state
new_state = operator * state

License

PiccoloQuantumObjects.jl is licensed under the MIT License.

About

Common quantum objects, isomophisms, and indexing used across the Piccolo.jl ecosystem

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages