Skip to content

Commit

Permalink
updated (c) notice
Browse files Browse the repository at this point in the history
Updated (c) notice
  • Loading branch information
vsoftco committed Dec 28, 2024
1 parent afc5efe commit ab5b9cb
Showing 83 changed files with 98 additions and 96 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.

MIT License

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ see <https://eigen.tuxfamily.org/dox/>. For a simple
[Eigen 3](https://eigen.tuxfamily.org) quick ASCII reference see
<https://eigen.tuxfamily.org/dox/AsciiQuickReference.txt>.

Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.

---

2 changes: 1 addition & 1 deletion include/qpp/MATLAB/matlab.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/codes.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/exception.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/gates.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/idisplay.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/ijson.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/init.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/layouts.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/noise.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/qbase_engine.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
8 changes: 5 additions & 3 deletions include/qpp/classes/qcircuit.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
@@ -962,7 +962,8 @@ class QCircuit : public IDisplay, public IJSON {
QCircuit& cond_else() {
// EXCEPTION CHECKS
std::string context{"Step " + std::to_string(get_step_count())};
if (conditional_stack_.empty() || !conditional_stack_.back().start_expr ||
if (conditional_stack_.empty() ||
!conditional_stack_.back().start_expr ||
conditional_stack_.back().else_expr.has_value()) {
throw exception::InvalidConditional(
"qpp::QCircuit::cond_else()",
@@ -993,7 +994,8 @@ class QCircuit : public IDisplay, public IJSON {
QCircuit& cond_end() {
// EXCEPTION CHECKS
std::string context{"Step " + std::to_string(get_step_count())};
if (conditional_stack_.empty() || !conditional_stack_.back().start_expr) {
if (conditional_stack_.empty() ||
!conditional_stack_.back().start_expr) {
throw exception::InvalidConditional(
"qpp::QCircuit::cond_end()",
context + ": END without a matching IF/WHILE");
2 changes: 1 addition & 1 deletion include/qpp/classes/qcircuit_traits.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/qdummy_engine.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/qengine.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/qengine_traits.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/qnoisy_engine.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/random_devices.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/reversible.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/states.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/classes/timer.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/constants.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/entanglement.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/entropies.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/experimental/experimental.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/functions.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/input_output.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/instruments.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/internal/classes/iomanip.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
4 changes: 2 additions & 2 deletions include/qpp/internal/classes/qcircuit_conditional_step.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
@@ -113,7 +113,7 @@ struct QCircuitConditionalStep : IDisplay {
start_expr{}; ///< location of if/while statement and corresponding
///< condition function
std::optional<idx> else_expr{}; ///< location of else statement
std::optional<idx> end_expr{}; ///< location of endif/endwhile statement
std::optional<idx> end_expr{}; ///< location of endif/endwhile statement

/**
* \brief Equality operator
2 changes: 1 addition & 1 deletion include/qpp/internal/classes/qcircuit_gate_step.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/internal/classes/qcircuit_measurement_step.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/internal/classes/qcircuit_nop_step.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/internal/classes/qcircuit_resources.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/internal/classes/qengine_state.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/internal/classes/qengine_statistics.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/internal/classes/singleton.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/internal/util.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/number_theory.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
2 changes: 1 addition & 1 deletion include/qpp/operations.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is part of Quantum++.
*
* Copyright (c) 2017 - 2024 softwareQ Inc. All rights reserved.
* Copyright (c) 2017 - 2025 softwareQ Inc. All rights reserved.
*
* MIT License
*
Loading

0 comments on commit ab5b9cb

Please sign in to comment.